Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CVSS 4 #5172

Open
czunker opened this issue Feb 6, 2025 · 0 comments
Open

Support CVSS 4 #5172

czunker opened this issue Feb 6, 2025 · 0 comments

Comments

@czunker
Copy link
Contributor

czunker commented Feb 6, 2025

Is your feature request related to a problem? Please describe.
We currently only support v2 and v3:

func init() {
// defines the valid metrics
// CVSS v3 https://www.first.org/cvss/specification-document#2-Base-Metrics
// CVSS v2 https://www.first.org/cvss/v2/guide
Metrics = map[string][]string{

Describe the solution you'd like
We should also support v4.
Some vulnerability data already includes this, e.g., https://osv.dev/vulnerability/GHSA-4rr6-2v9v-wcpc

Describe alternatives you've considered
We cannot ignore it.

Additional context
Not yet provided by NVD.

Spec:
https://www.first.org/cvss/v4.0/specification-document

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant