osv.dev icon indicating copy to clipboard operation
osv.dev copied to clipboard

combine-to-osv: withdraw rejected CVEs

Open andrewpollock opened this issue 2 years ago • 6 comments

Describe the bug While creating https://github.com/google/osv.dev/pull/2146 (off the back of https://github.com/google/osv.dev/pull/2129) it occurred to me that combine-to-osv doesn't mark rejected CVEs as withdrawn when converting them to OSV records, and I think they should be.

Expected behaviour Rejected CVEs expressed as OSV records should be marked as withdrawn.

Screenshots https://api.osv.dev/v1/vulns/CVE-2024-31745 is the example.

andrewpollock avatar Apr 30 '24 23:04 andrewpollock

This issue has not had any activity for 60 days and will be automatically closed in two weeks

github-actions[bot] avatar Jul 18 '24 18:07 github-actions[bot]

"Can I work on resolving this issue?"

Thakor-Yashpal avatar Nov 15 '24 11:11 Thakor-Yashpal

@Thakor-Yashpal sure!

andrewpollock avatar Nov 18 '24 03:11 andrewpollock

Implementation thought:

in https://github.com/google/osv.dev/blob/cf067d4f0b11e50e971e8ee8c5763db5f8ad6975/vulnfeeds/vulns/vulns.go#L614-L628 simply test for cve.VulnStatus == "REJECTED" and set v.Withdrawn to v.Modified if true...

andrewpollock avatar Feb 24 '25 00:02 andrewpollock

Since its been a months can I look into this?

Vedthakar avatar Apr 04 '26 18:04 Vedthakar

closed by: https://github.com/google/osv.dev/pull/5761

jess-lowe avatar Sep 01 '26 04:09 jess-lowe