combine-to-osv: withdraw rejected CVEs
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.
This issue has not had any activity for 60 days and will be automatically closed in two weeks
"Can I work on resolving this issue?"
@Thakor-Yashpal sure!
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...
Since its been a months can I look into this?
closed by: https://github.com/google/osv.dev/pull/5761