Skip to content

Commit

Permalink
fix: improve libsndfile checker
Browse files Browse the repository at this point in the history
Add additional CPE ID to catch "old" CVEs

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
  • Loading branch information
ffontaine committed Mar 23, 2023
1 parent 57fba59 commit 636151b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cve_bin_tool/checkers/libsndfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"""
CVE checker for libsndfile
https://www.cvedetails.com/vulnerability-list/vendor_id-8760/product_id-16957/Mega-nerd-Libsndfile.html
https://www.cvedetails.com/product/36889/Libsndfile-Project-Libsndfile.html?vendor_id=16294
"""
Expand All @@ -21,4 +22,4 @@ class LibsndfileChecker(Checker):
]
FILENAME_PATTERNS = [r"libsndfile.so"]
VERSION_PATTERNS = [r"libsndfile-(\d+\.\d+\.\d+[a-z0-9]*)\r?\n"]
VENDOR_PRODUCT = [("libsndfile_project", "libsndfile")]
VENDOR_PRODUCT = [("libsndfile_project", "libsndfile"), ("mega-nerd", "libsndfile")]

0 comments on commit 636151b

Please sign in to comment.