CVSS::v2 - Parse and calculate CVSS v2.0 scores
Contents
Description
METHODS
CVSS::v2 inherits all methods from CVSS::Base and implements the following new ones.
$cvss-weight ( $metric )
Return the weight of provided metric.
$cvss->W ( $metric )
Alias of "weight".
BASEMETRICS
$cvss->AV | $cvss->accessVector
$cvss->AC | $cvss->accessComplexity
$cvss->Au | $cvss->authentication
$cvss->C | $cvss->confidentialityImpact
$cvss->I | $cvss->integrityImpact
$cvss->A | $cvss->availabilityImpact
TEMPORALMETRICS
$cvss->E | $cvss->exploitability
$cvss->RL | $cvss->remediationLevel
$cvss->RC | $cvss->reportConfidence
ENVIRONMENTALMETRICS
$cvss->CDP | $cvss->collateralDamagePotential
$cvss->TD | $cvss->targetDistribution
$cvss->CR | $cvss->confidentialityRequirement
$cvss->IR | $cvss->integrityRequirement
$cvss->AR | $cvss->availabilityRequirement
License And Copyright
This software is copyright (c) 2023-2025 by Giuseppe Di Terlizzi.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5
programming language system itself.
perl v5.40.1 2025-07-08 CVSS::v2(3pm)
Name
CVSS::v2 - Parse and calculate CVSS v2.0 scores
See Also
CVSS, CVSS::v3, CVSS::v4
[FIRST] CVSS Data Representations (<https://www.first.org/cvss/data-representations>)
[FIRST] CVSS v2.0 Complete Guide (<https://www.first.org/cvss/v2/guide>)
Support
Bugs/FeatureRequests
Please report any bugs or feature requests through the issue tracker at
<https://github.com/giterlizzi/perl-CVSS/issues>. You will be notified automatically of any progress on
your issue.
SourceCode
This is open source software. The code repository is available for public review and contribution under
the terms of the license.
<https://github.com/giterlizzi/perl-CVSS>
git clone https://github.com/giterlizzi/perl-CVSS.git
Synopsis
use CVSS::v2;
my $cvss = CVSS::v2->from_vector_string('AV:N/AC:L/Au:N/C:N/I:N/A:C');
say $cvss->AV; # N
say $cvss->accessVector; # NETWORK
