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
What happened:
Upgrading grype from v0.87 --> v0.91 made some long standing vulnerabilities suddenly disappear.
grype v0.87:
$ grype87 sample.spdx.json
✔ Scanned for vulnerabilities [2 vulnerability matches]
├── by severity: 0 critical, 2 high, 0 medium, 0 low, 0 negligible
└── by status: 2 fixed, 0 not-fixed, 0 ignored
[0000] WARN attempted CPE search on Newtonsoft.Json, which has no CPEs. Consider re-running with --add-cpes-if-none
[0000] WARN attempted CPE search on Npgsql, which has no CPEs. Consider re-running with --add-cpes-if-none
NAME INSTALLED FIXED-IN TYPE VULNERABILITY SEVERITY
Newtonsoft.Json 12.0.3 13.0.1 UnknownPackage GHSA-5crp-9r3c-p9vr High
Npgsql 2.2.7 4.0.14 UnknownPackage GHSA-x9vc-6hfv-hg8c High
A newer version of grype is available for download: 0.91.0 (installed version is 0.87.0)
Run it through grype v0.87 vs v0.91 and note that the former detects the vulnerability while the latter reports none.
SBOM was generated with Microsoft's SBOMTool and then pared down to a minimal example for the issue.
Edit: After some trial and error, it appears the breaking change is v0.87 -> v0.88:
user@dsilicon:~/Downloads$ grype87 sample.spdx.json
✔ Scanned for vulnerabilities [2 vulnerability matches]
├── by severity: 0 critical, 2 high, 0 medium, 0 low, 0 negligible
└── by status: 2 fixed, 0 not-fixed, 0 ignored
[0000] WARN attempted CPE search on Newtonsoft.Json, which has no CPEs. Consider re-running with --add-cpes-if-none
[0000] WARN attempted CPE search on Npgsql, which has no CPEs. Consider re-running with --add-cpes-if-none
NAME INSTALLED FIXED-IN TYPE VULNERABILITY SEVERITY
Newtonsoft.Json 12.0.3 13.0.1 UnknownPackage GHSA-5crp-9r3c-p9vr High
Npgsql 2.2.7 4.0.14 UnknownPackage GHSA-x9vc-6hfv-hg8c High
A newer version of grype is available for download: 0.91.0 (installed version is 0.87.0)
user@dsilicon:~/Downloads$ grype88 sample.spdx.json
✔ Scanned for vulnerabilities [0 vulnerability matches]
├── by severity: 0 critical, 0 high, 0 medium, 0 low, 0 negligible
└── by status: 0 fixed, 0 not-fixed, 0 ignored
No vulnerabilities found
The text was updated successfully, but these errors were encountered:
I too noticed the same problem in Grype and a search landed me to this issue. Seems like Grype versions 0.88.0 and above are not reporting several existing critical severity issues including the ones from Log4j 1.2.17 library. I'm not sure if this is related but Grype had a change in DB they're pointing to starting from that version:
What happened:
Upgrading grype from v0.87 --> v0.91 made some long standing vulnerabilities suddenly disappear.
grype v0.87:
After updating to v0.91:
The SBOM didn't change, I only upgraded grype.
How to reproduce it (as minimally and precisely as possible):
Save this as
sample.spdx.json
:Run it through grype v0.87 vs v0.91 and note that the former detects the vulnerability while the latter reports none.
SBOM was generated with Microsoft's SBOMTool and then pared down to a minimal example for the issue.
Edit: After some trial and error, it appears the breaking change is v0.87 -> v0.88:
The text was updated successfully, but these errors were encountered: