CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/cvss

README.md

CVSS-latex

This aims to become a package allowing anyone to use and nicely print the CVSS ratings for a given CVSS string.

Usage

Direct forms

\cvssScore{CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N}
\cvssLevel{CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N}
\cvssLevelpretty{CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H}
\cvssTag{CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H}

The vuln has a  \textbf{\cvssLevel{CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N}}-level and we can output it inline.
Direct forms

Imbricated Form

\cvssFrame{Low}
\category{9.9}

We can even combine them:
\category{\cvssScore{CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N}}
\cvssFrame{\category{\cvssScore{CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N}}}
Imbricated forms

To-do

  • x Fix the expansion error preventing nested commands like \category{\computeCVSS{AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N}}
  • x Add support for CVSS complete string (starting wiht CVSS:3.1)
  • Add CVSS values as variables (future CVSS version)
  • Add support for full CVSS vector (temporal and environmental score)
  • x Turn this into a latex package

Licence

This package is licensed under the LPPL-1.3c. The author of this package is Pierre VIVEGNIS.

Download the contents of this package in one zip archive (569.3k).

cvss – Compute and display CVSS base scores

The Common Vulnerability Scoring System (CVSS) is an open framework for communicating the characteristics and severity of software vulnerabilities. CVSS consists of three metric groups: Base, Temporal, and Environmental.

This package allows the user to compute CVSS3.1 base scores and use them in documents, i.e. it only deals with the Base score. Temporal and Environental scores will be part of a future release.

More information can be found at https://www.first.org/cvss/specification-document.

Packagecvss
Bug trackerhttps://github.com/3isenHeiM/CVSS-latex/issues
Repositoryhttps://github.com/3isenHeiM/CVSS-latex
Developershttps://github.com/3isenHeiM/CVSS-latex/pulls
Version1.1.0 2022-12-02
LicensesThe Project Public License 1.3c
Copyright2022 Pierre VIVEGNIS
MaintainerPierre Vivegnis
Contained inTeX Live as cvss
MiKTeX as cvss
TopicsExperimental 3
Calculation
...
Guest Book Sitemap Contact Contact Author