-
Notifications
You must be signed in to change notification settings - Fork 750
Closed
Labels
bugSomething isn't workingSomething isn't workinggood-first-issueGood for newcomersGood for newcomers
Description
Description:
When generating an SBOM with Syft, Qt libraries (e.g., Qt5Core.dll v5.15.17) are catalogued under the CPE cpe:2.3:a:qt:Qt5:<version>.... However, the NIST CPE dictionary only includes entries under cpe:2.3:a:qt:qt:<version>. As a result, Grype (which relies on the official CPE naming) fails to detect any CVEs for Qt 5.15.17, even though this version is within the affected-range of CVE-2024-39936 and CVE-2025-30348.
Reproduction Steps:
- Build an SBOM with Syft for a project including Qt 5.15.17 binaries:
syft packages dir:/path/to/bin -o sbom.json- Scan the SBOM with Grype:
grype sbom:sbom.json-
Observe that CVEs for Qt are not reported.
-
Manually edit
sbom.json, rename allcpe:qt:Qt5tocpe:qt:qt, then re-scan:
sed -i 's/qt:Qt5:/qt:qt:/g' sbom.json
grype sbom:sbom.jsonVulnerabilities appear as expected.
Proposed Fix:
- Syft: Normalize CPE product to
qtinstead ofQt5. - Or Grype: Support alias mapping, treating
Qt5as equivalent toqt.
References:
- NIST CPE dictionary: https://nvd.nist.gov/products/cpe
- CVE-2024-39936, CVE-2025-30348
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood-first-issueGood for newcomersGood for newcomers
Type
Projects
Status
Done