CVSS::v3 - Parse and calculate CVSS v3.x scores
Contents
Description
METHODS
CVSS::v3 inherits all methods from CVSS::Base and implements the following new ones.
BASEMETRICS
$cvss->AV | $cvss->attackVector
$cvss->AC | $cvss->attackComplexity
$cvss->PR | $cvss->privilegesRequired
$cvss->UI | $cvss->userInteraction
$cvss->S | $cvss->scope
$cvss->C | $cvss->confidentialityImpact
$cvss->I | $cvss->integrityImpact
$cvss->A | $cvss->availabilityImpact
TEMPORALMETRICS
$cvss->E | $cvss->exploitCodeMaturity
$cvss->RL | $cvss->remediationLevel
$cvss->RC | $cvss->reportConfidence
ENVIROMENTALMETRICS
$cvss->CR | $cvss->confidentialityRequirement
$cvss->IR | $cvss->integrityRequirement
$cvss->AR | $cvss->availabilityRequirement
$cvss->MAV | $cvss->modifiedAttackVector
$cvss->MAC | $cvss->modifiedAttackComplexity
$cvss->MPR | $cvss->modifiedPrivilegesRequired
$cvss->MUI | $cvss->modifiedUserInteraction
$cvss->MS | $cvss->modifiedScope
$cvss->MC | $cvss->modifiedConfidentialityImpact
$cvss->MI | $cvss->modifiedIntegrityImpact
$cvss->MA | $cvss->modifiedAvailabilityImpact
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::v3(3pm)
Name
CVSS::v3 - Parse and calculate CVSS v3.x scores
See Also
CVSS, CVSS::v2, CVSS::v4
[FIRST] CVSS Data Representations (<https://www.first.org/cvss/data-representations>)
[FIRST] CVSS v3.1 Specification (<https://www.first.org/cvss/v3.1/specification-document>)
[FIRST] CVSS v3.0 Specification (<https://www.first.org/cvss/v3.0/specification-document>)
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::v3;
my $cvss = CVSS::v3->from_vector_string('CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H');
say $cvss->AV; # A
say $cvss->attackVector; # ADJACENT_NETWORK
