You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vulnfeeds: Add some more common phrases when extracting versions from CVE description #249
I would like to work on this issue if it is still free. I see it was assigned on Jul 31, 2026, but there has been no PR or activity since, so I wanted to check first before starting.
I also read the previous PR #4550 and the review feedback. My plan is to pick that work up cleanly on top of the current code:
Extend extractVersionsFromDescription in vulnfeeds/cves/versions.go to cover the phrases listed here, including "up to and including", "and earlier", "or older", "prior to", and "below"
Build on the candidate regex andrewpollock suggested
Add table-driven tests in versions_test.go with real-world CVE description examples
A bit about me: I build Aegis, a Go scanner for IaC and vulnerability detection, so version parsing from CVE descriptions is directly in my day-to-day work.
If @ashutos-h-tiwari is no longer working on this, could you please reassign it to me? Happy to start once you confirm.
Hi @aeagisenginesec and maintainers — thanks for checking in! Sorry for the delay on this; I was tied up with my university exams, which just wrapped up.
I'd still like to keep this issue and finish it up. I'm picking up the work on extractVersionsFromDescription in vulnfeeds/cves/versions.go and the table-driven tests in versions_test.go now, and I will open a PR by Thursday, December 10.
Hi @ashutos-h-tiwari, thanks for picking this back up, happy to leave it with you if the maintainers prefer that. Just noting my PR #6512 is already open, built on current main, in vulnfeeds/conversion/versions.go (the code moved from vulnfeeds/cves/versions.go), adding below and or-older / or-earlier / or-below, with tests passing. Happy for the maintainers to pick either one, or for you to build on mine if useful.
Activity
github-actions commentedon Jul 30, 2024
This issue has not had any activity for 60 days and will be automatically closed in two weeks
andrewpollock commentedon Aug 5, 2024
osv.dev/vulnfeeds/cves/versions.go
Lines 725 to 783 in c5c3e96
andrewpollock commentedon Aug 5, 2024
This regex might do the trick:
(?i)([\w.+\-]+)?\s+(through|before|up to and including|prior to|below|(?:(?:and|or)\s+(?:earlier|older|below)))\s+(?:version\s+)?([\w.+\-]+)github-actions commentedon Oct 5, 2024
This issue has not had any activity for 60 days and will be automatically closed in two weeks
See https://github.com/google/osv.dev/blob/master/CONTRIBUTING.md for how to contribute a PR if you're interested in helping out.
ashutos-h-tiwari commentedon Jul 31, 2026
Hi maintainers, I'd like to work on this issue as my first contribution. Could you please assign it to me?
aeagisenginesec commentedon Dec 5, 2026
Hi @ashutos-h-tiwari and maintainers,
I would like to work on this issue if it is still free. I see it was assigned on Jul 31, 2026, but there has been no PR or activity since, so I wanted to check first before starting.
I also read the previous PR #4550 and the review feedback. My plan is to pick that work up cleanly on top of the current code:
A bit about me: I build Aegis, a Go scanner for IaC and vulnerability detection, so version parsing from CVE descriptions is directly in my day-to-day work.
If @ashutos-h-tiwari is no longer working on this, could you please reassign it to me? Happy to start once you confirm.
Thanks,
Reda
ashutos-h-tiwari commentedon Dec 5, 2026
Hi @aeagisenginesec and maintainers — thanks for checking in! Sorry for the delay on this; I was tied up with my university exams, which just wrapped up.
I'd still like to keep this issue and finish it up. I'm picking up the work on extractVersionsFromDescription in vulnfeeds/cves/versions.go and the table-driven tests in versions_test.go now, and I will open a PR by Thursday, December 10.
aeagisenginesec commentedon Dec 5, 2026
Hi @ashutos-h-tiwari, thanks for picking this back up, happy to leave it with you if the maintainers prefer that. Just noting my PR #6512 is already open, built on current main, in vulnfeeds/conversion/versions.go (the code moved from vulnfeeds/cves/versions.go), adding below and or-older / or-earlier / or-below, with tests passing. Happy for the maintainers to pick either one, or for you to build on mine if useful.