CVSS::v2(3pm)
π NAME π
CVSS::v2 β bestie, this is the module that parses and calculates CVSS v2.0 scores π
β¨ SYNOPSIS β¨
okay so you literally just do this:
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
like. it's giving effortless. π¦
πΈ DESCRIPTION πΈ
The Common Vulnerability Scoring System (CVSS) is this open framework for communicating the characteristics and impacts of IT vulnerabilities. Not me being obsessed with standardized scoring π CVSS consists of 3 groups: Base, Temporal and Environmental. Each group produces a numeric score ranging from 0 to 10, and a Vector β a compressed textual representation that reflects the values used to derive the score. The Base group represents the intrinsic qualities of a vulnerability. The Temporal group reflects the characteristics of a vulnerability that change over time. The Environmental group represents the characteristics of a vulnerability that are unique to any user's environment. CVSS lets IT managers, vulnerability bulletin providers, security vendors, application vendors and researchers all benefit by adopting this common language of scoring IT vulnerabilities. icon behavior fr fr π
<https://www.first.org/cvss/v2/guide>
π METHODS π
CVSS::v2 inherits all methods from CVSS::Base and implements the following new ones. she's a nepo baby but make it useful π
$cvss-weight ( $metric )β returns the weight of provided metric. (yes bestie, that's literally how it's written, don't come for me π)$cvss->W ( $metric )β alias of"weight". lowkey the same thing, highkey iconic.
β BASE METRICS β
$cvss->AV|$cvss->accessVector$cvss->AC|$cvss->accessComplexity$cvss->Au|$cvss->authentication$cvss->C|$cvss->confidentialityImpact$cvss->I|$cvss->integrityImpact$cvss->A|$cvss->availabilityImpact
π TEMPORAL METRICS π
$cvss->E|$cvss->exploitability$cvss->RL|$cvss->remediationLevel$cvss->RC|$cvss->reportConfidence
π§ ENVIRONMENTAL METRICS π§
$cvss->CDP|$cvss->collateralDamagePotential$cvss->TD|$cvss->targetDistribution$cvss->CR|$cvss->confidentialityRequirement$cvss->IR|$cvss->integrityRequirement$cvss->AR|$cvss->availabilityRequirement
π 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 / Feature Requests
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. bestie the bot will keep you posted, no ghosting π
πΈ Source Code
This is open source software. The code repository is available for public review and contribution under the terms of the license. come thru and contribute, we love to see it β¨
<https://github.com/giterlizzi/perl-CVSS>
git clone https://github.com/giterlizzi/perl-CVSS.git
π AUTHOR π
- Giuseppe Di Terlizzi
<gdt@cpan.org>
π LICENSE AND COPYRIGHT π
This software is copyright (c) 2023-2026 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.
and that's the whole vibe check, bestie π this page came straight from perl v5.40.1, dated 2026-07-05 π you ate, go parse some vectors π
π¦ where this page comes from
- ubuntu stonking: libcvss-perl 1.15-1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms