Repository navigation
CVSS v1.1.2
Pre-release
Pre-release
·
85 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Internal simplification and executable performance contracts for CTI Commons CVSS
- Centralises shared vector mechanics without changing public APIs or scoring behaviour
- Removes duplicated CVSS 3.0 and 3.1 parsing, representation and scoring code
- Retains version-specific packages and specification-specific behaviour
Structure
- Adds shared internal owners for CVSS 3 parsing and scoring
- Adds common metric-value, mixed-radix, score, fixture and vector-input helpers
- Keeps CVSS 2.0, 3.0, 3.1 and 4.0 concrete public types
- Removes the duplicated internal JSON text implementation
Verification
- Proves every packed CVSS 2.0 Base lookup state
- Proves every CVSS 4.0 metric value through the public lookup API
- Adds deterministic zero-allocation contracts for parsing, lookup, replacement, caller-buffer encoding and scoring
- Covers shared CVSS 3.0 and 3.1 Environmental scoring paths
- Retains all formula mutation, reference corpus, race and fuzz controls
Performance
- Adds one reproducible paired benchmark command
- Runs CTI Commons and Pandatix in alternating isolated processes
- Reports median results from a configurable positive odd sample count
- Records Go, platform, architecture and CPU identity
Run the paired benchmark with:
bash ./.github/scripts/verify.sh benchmarkInstall
go get github.com/cticommons/cvss@v1.1.2