Skip to content

CVSS v1.1.0

Pre-release
Pre-release

Choose a tag to compare

@steadytao steadytao released this 16 Aug 08:48
· 85 commits to main since this release
Immutable release. Only release title and notes can be modified.
a30471e

Performance, memory and qualification improvements for CTI Commons CVSS

  • Preserves the existing version-specific public APIs
  • Reduces in-memory vectors to 4 bytes for CVSS 2.0, 5 bytes for CVSS 3.0 and 3.1 and 8 bytes for CVSS 4.0
  • Keeps parsing, scoring, metric access and caller-buffer encoding allocation-free
  • Removes every external dependency from the production module

Performance

  • Replaces expanded metric fields with compact immutable state
  • Improves parsing and canonical encoding across every supported version
  • Adds a direct canonical JSON decoding path
  • Retains readable scoring formulas separately from representation mechanics
  • Keeps validated immutable metric replacement

Qualification

  • Adds differential CVSS 2.0, 3.0 and 3.1 testing against pandatix/go-cvss v0.6.2
  • Qualifies CVSS 4.0 against all 41,270 valid vectors in the pinned FIRST reference corpus
  • Retains 157 unique rounding corrections from the pinned Red Hat calculator revision
  • Identifies 184 Pandatix score differences and 38 severity differences against the corrected corpus
  • Adds paired parsing, scoring, encoding, lookup, replacement and memory benchmarks

Verification

  • Moves development tools into an isolated Go module
  • Keeps the production module graph limited to github.com/cticommons/cvss
  • Extends formatting, vet, lint, vulnerability, race, fuzz and compatibility checks across the differential module
  • Extends CI and Dependabot coverage across the root, differential and tool modules

Install

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