Skip to content

CVSS v1.0.0

Pre-release
Pre-release

Choose a tag to compare

@steadytao steadytao released this 16 Aug 05:32
· 85 commits to main since this release
Immutable release. Only release title and notes can be modified.
1f46a63

The first stable release of CTI Commons CVSS

  • Implements CVSS 2.0, 3.0, 3.1 and 4.0 vector formats through small version-specific Go APIs

Included

  • Strict vector parsing
  • Canonical text and JSON encoding
  • Base, Temporal, Environmental and Threat scoring as defined by each specification
  • Typed metric lookup
  • Validated immutable metric replacement
  • Impact and Exploitability subscores for CVSS 2.0, 3.0 and 3.1
  • Score nomenclature for CVSS 4.0
  • Transactional text and JSON decoding
  • Root-level version identification
  • Caller-buffer encoding
  • Exact scores represented in tenths

Packages

Version Package Scores
CVSS 2.0 github.com/cticommons/cvss/cvss20 Base, Temporal and Environmental
CVSS 3.0 github.com/cticommons/cvss/cvss30 Base, Temporal and Environmental
CVSS 3.1 github.com/cticommons/cvss/cvss31 Base, Temporal and Environmental
CVSS 4.0 github.com/cticommons/cvss/cvss40 Base, Threat and Environmental combinations

CVSS 1.0 is not supported because it does not define an interoperable vector format precisely enough to implement

Install

go get github.com/cticommons/cvss@v1.0.0