-
Notifications
You must be signed in to change notification settings - Fork 233
feat(vulnfeeds): Enable git resolution for affected versions field CVEList #3951
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
Merged
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
1a466f1
Fix missing delete
jess-lowe f5b40e4
Remove Linux special treatment
jess-lowe bad798b
Improve inverse version extraction
jess-lowe b62ceb3
Fix double commit hash sections
jess-lowe 86ace30
Merge remote-tracking branch 'upstream/master' into feat/cve-conv-cro…
jess-lowe b4f5b57
Remove database_specific map from initial vuln instance
jess-lowe c352ac1
fix version_extraction test
jess-lowe f17b8c5
rename and repackage cvelist converstion
jess-lowe 0638dff
repackage
jess-lowe f7b0de3
cvelist mass converter script
jess-lowe 0fc040d
Remove outcomes logic for now (not very concurrency-friendly)
jess-lowe 227ba92
Converter script
jess-lowe e2f5b64
rename files back
jess-lowe c56e9d5
dockerfile and cron job
jess-lowe 7df4e7c
Merge remote-tracking branch 'upstream/master' into feat/cve-conv-cro…
jess-lowe cf40025
flatten if statements
jess-lowe 394d039
Revert "dockerfile and cron job"
jess-lowe 34e3505
Merge remote-tracking branch 'upstream/master' into feat/cve-conv-cro…
jess-lowe 013c5c8
update logger
jess-lowe 34878fb
fix lint through refactoring everything :(
jess-lowe af05357
Added flags and removed double parsing
jess-lowe 9b2ce86
rename sortBadSemver
jess-lowe 68f8d55
refactored parts for clarity
jess-lowe 28e0691
deal with if number of parts are not 2 or 3
jess-lowe e69b7fb
rename sortBadSemver in tests
jess-lowe 0114a27
Refactor VersionToCommit to ONLY return a commit, not the AffectedCom…
jess-lowe 5fa7c47
update test snapshots
jess-lowe fbdd60f
FIX LINT
jess-lowe 56c6db5
MUCH PRETTIER CODE
jess-lowe 40b1d9f
Merge remote-tracking branch 'upstream/master' into feat/cve-git-reso…
jess-lowe 3c528d7
Merge branch 'refactor/versions-to-commit' into feat/cve-git-resolve-1
jess-lowe d36ada9
Enable git commit extraction in affected field extracted vulns.
jess-lowe 650290d
Save unresolved version ranges in database_specific
jess-lowe 77eab2a
fix the concurrency issue with Metrics.Notes
jess-lowe e8d344a
Fix testcases
jess-lowe 18ca577
Merge remote-tracking branch 'upstream/master' into feat/cve-git-reso…
jess-lowe 7641ad1
fix logging issues
jess-lowe da21f5d
fix lint
jess-lowe 49299c0
fix folder name
jess-lowe 89b4541
improve naming clarity
jess-lowe 667d6cf
update source for affected
jess-lowe ac0a979
fix lint
jess-lowe b9909a7
wrong place
jess-lowe 459eb95
attempt to Parse oneliner range
jess-lowe f975c3b
fix lint
jess-lowe 60ad54b
Merge branch 'master' into feat/cve-git-resolve-1
jess-lowe 24d71de
Treat version ranges git resolution as a stack to reduce chances of d…
jess-lowe 8be73f6
Assume if only one version that value is LAST AFFECTED not fixed
jess-lowe 208f809
refactor some duplicate code and fix tests
jess-lowe 31bdcab
fix lint
jess-lowe 389349d
Merge branch 'master' into feat/cve-git-resolve-1
jess-lowe eca80e8
Remove duplicate code
jess-lowe 360883d
Merge branch 'master' into feat/cve-git-resolve-1
jess-lowe 0ea46b7
Make clearer where passing as a pointer
jess-lowe 23e8ca3
refactor gitToCommits
jess-lowe 62ddc33
fix lint
jess-lowe bacdfb5
Merge branch 'master' into feat/cve-git-resolve-1
jess-lowe ccf9a28
fix typo
jess-lowe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The EEF CNA is reporting GIT Versions. Can we be added to this list? Example CVE: https://cna.erlef.org/cves/cve-2025-48042.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @maennchen, thanks for your enthusiasm with the CVE5 conversion! I tried running the converter with EEF scoped vulns and unfortunately in its current state it's not able to convert EEF vulns effectively, as the data layout differs from the more common expressions I've seen across Linux/GitHub_M/MITRE vulns. Looking a little more into it, it looks like the vulns are generated using Vulnogram, in which case, I'll consider adding an extension to handle Vulnogram generated vulns in a future PR :).
For a more timely ingestion of EEF vulns into OSV, we would highly appreciate Erlang publishing natively in the OSV format for us to ingest (also removes the layer of abstraction from going through the CVE Program to publish changes, and waiting for us to ingest those vulns).