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
I checked the downloaded vulnerability DB of grype with sqlitebrowser and found the CVEs listed on the web (tried around 10 items or so). However, the DB entries do not have a CPE.
What you expected to happen:
According to NVD this is a valid CPE in the SBOM file and there are many known CVEs:
Does not report any CVEs. If I remove the purl and cpe property within the JSON and add option --add-cpes-if-none
$ grype "sbom:test.json" --add-cpes-if-none
NAME INSTALLED FIXED-IN TYPE VULNERABILITY SEVERITY
linux_kernel 5.4.236 UnknownPackage CVE-2022-1462 Medium
Seeing the same thing with a similar SBOM, just using 5.8.18 of the linux kernel.
I looked around and don't see a way to upstream changes to the vulnerability database. If there's no path to that, is there any plan to attach CPEs to all the linux kernel vulnerabilities?
What happened:
CVE scanning for the Linux kernel with an SBOM file and a proper CPE does not list any CVEs.
CPE: cpe:2.3:o:linux:linux_kernel:5.4.236:*:*:*:*:*:*:*
I checked the downloaded vulnerability DB of grype with sqlitebrowser and found the CVEs listed on the web (tried around 10 items or so). However, the DB entries do not have a CPE.
What you expected to happen:
According to NVD this is a valid CPE in the SBOM file and there are many known CVEs:
How to reproduce it (as minimally and precisely as possible):
Does not report any CVEs. If I remove the purl and cpe property within the JSON and add option
--add-cpes-if-none
$ grype "sbom:test.json" --add-cpes-if-none NAME INSTALLED FIXED-IN TYPE VULNERABILITY SEVERITY linux_kernel 5.4.236 UnknownPackage CVE-2022-1462 Medium
Still only one CVE is found.
Environment:
grype version
:Application: grype
Version: 0.71.0
BuildDate: 2023-10-12T13:27:46Z
GitCommit: 3d582fd
GitDescription: v0.71.0
Platform: linux/amd64
GoVersion: go1.21.1
Compiler: gc
Syft Version: v0.93.0
Supported DB Schema: 5
cat /etc/os-release
or similar):Ubuntu 22.04.3 LTS
The text was updated successfully, but these errors were encountered: