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

creation of false vulnerable ranges in GIT ecosystem

Open sha-cy opened this issue 7 months ago • 1 comments

Describe the bug I have seen consistent issues with the conversion of CVEs to OSV in the GIT ecosystem, In the examples I have given we see from NVD a clear definition of "from version X until version Y are affected by this vulnerability" but in OSV, the range start with "commit 0" meaning all version before, leading to a false positive identification.

And in some cases, there is no range given at all in NVD, but the OSV entry still uses "introduced 0" in the ranges.

The bug is that OSV places a non-existent introduced commit to the vulnerability, resulting in false positives

To Reproduce

  1. open OSV cve-2022-33967
  2. Go to the affected packages
  3. Press on the Git ecosystem
  4. You will see inside the "events", "introduced 0"
  5. Go to NIST CVE-2022-33967
  6. Scroll down to the "Known Affected software configuration"
  7. You will not find that the range of the vulnerability starts at the first iteration

Expected behaviour Introduced range containing the first affected commit of the vulnerability, Or maybe not display it at all and only use the versions(tag) list to reduce the false positive.

Screenshots

Image

Image

Additional context For context, I was searching for vulnerabilities affecting u-boot v2018.09

sha-cy avatar May 29 '25 10:05 sha-cy

this is the data quality issue i opened incase this is not a bug https://github.com/google/osv.dev/issues/3519

sha-cy avatar May 29 '25 10:05 sha-cy