fix: CPE detection for APK libavif to use aomedia vendor#4597
Merged
westonsteimel merged 1 commit intoanchore:mainfrom Feb 5, 2026
Merged
fix: CPE detection for APK libavif to use aomedia vendor#4597westonsteimel merged 1 commit intoanchore:mainfrom
westonsteimel merged 1 commit intoanchore:mainfrom
Conversation
NVD uses "aomedia" as the vendor for libavif CVEs. This change adds libavif to the APK package CPE candidate additions with "aomedia" as an additional vendor, enabling Syft/Grype to match CVEs like CVE-2025-48174 and CVE-2025-48175. Signed-off-by: Peter Bücker <peter.buecker@gmail.com>
westonsteimel
approved these changes
Feb 5, 2026
Contributor
|
@naag , thanks very much for helping make the CPEs more accurate. As noted in anchore/grype#210 (comment) we are working towards an eventual solution where we will know about all of the CPE to distro package mappings that exist in release-monitoring.org (as well as some other datasets), and it appears that they do have this mapping https://release-monitoring.org/project/178015/. Thanks again for the improvement! |
|
Thanks a lot @westonsteimel for your swift response and the additional explanations, very much appreciate the outlook :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
TLDR: This change adds libavif to the APK package CPE candidate additions with
aomediaas an additional vendor, enabling Syft/Grype to match CVEs like CVE-2025-48174 and CVE-2025-48175 using CPEs.NVD uses
aomediaas the vendor for libavif CVEs, see for example https://nvd.nist.gov/vuln/detail/CVE-2025-48174:The CPE currently computed by Syft/Grype uses the vendor
libavif, which causes a CPE mismatch:With this PR merged, the generated CPE for
libavifwill match what NVD is using, which fixes false negatives in Grype.Type of change
Checklist
Issue references