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

Remove CVSS v2 prefix from vector string #218

Merged
merged 4 commits into from
Jul 19, 2024

Conversation

TristanCacqueray
Copy link
Collaborator

@TristanCacqueray TristanCacqueray commented Jul 12, 2024

This change fix the OSV export.

Fixes #217

hsec-tools

  • Previous advisories are still valid

code/cvss/test/Spec.hs Outdated Show resolved Hide resolved
@blackheaven
Copy link
Collaborator

I'll handle the CI issue

@TristanCacqueray TristanCacqueray force-pushed the cvss2-fix branch 2 times, most recently from 98df552 to f19b28f Compare July 12, 2024 11:25
@TristanCacqueray
Copy link
Collaborator Author

Thanks, and I applied the stripPrefix suggestion.

@frasertweedale
Copy link
Collaborator

I'm addressing the CI issues in #220 .

Copy link
Collaborator

@frasertweedale frasertweedale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion. And we will also need to rebase on main to pick up the CI fixes.

This change ensures the UnknownVersion exception is returned for
unknown cvss version prefix.
@frasertweedale frasertweedale merged commit d09058a into haskell:main Jul 19, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

osv: CVSS v2 vector string should not include version prefix
3 participants