diff --git a/cve_bin_tool/checkers/icecast.py b/cve_bin_tool/checkers/icecast.py index daac857b87..d2bee03d4a 100644 --- a/cve_bin_tool/checkers/icecast.py +++ b/cve_bin_tool/checkers/icecast.py @@ -6,6 +6,7 @@ CVE checker for icecast https://www.cvedetails.com/product/1194/Icecast-Icecast.html?vendor_id=693 +https://www.cvedetails.com/product/31619/Xiph-Icecast.html?vendor_id=7966 """ from __future__ import annotations @@ -17,4 +18,4 @@ class IcecastChecker(Checker): CONTAINS_PATTERNS: list[str] = [] FILENAME_PATTERNS = [r"icecast"] VERSION_PATTERNS = [r"Icecast ([0-9]+\.[0-9]+\.[0-9]+)"] - VENDOR_PRODUCT = [("icecast", "icecast")] + VENDOR_PRODUCT = [("icecast", "icecast"), ("xiph", "icecast")] diff --git a/test/condensed-downloads/icecast2_2.4.0-1.1+deb8u1_amd64.deb.tar.gz b/test/condensed-downloads/icecast2_2.4.0-1.1+deb8u1_amd64.deb.tar.gz new file mode 100644 index 0000000000..4637ff4f39 Binary files /dev/null and b/test/condensed-downloads/icecast2_2.4.0-1.1+deb8u1_amd64.deb.tar.gz differ diff --git a/test/condensed-downloads/icecast_2.4.4-1_x86_64.ipk.tar.gz b/test/condensed-downloads/icecast_2.4.4-1_x86_64.ipk.tar.gz new file mode 100644 index 0000000000..02e5816e49 Binary files /dev/null and b/test/condensed-downloads/icecast_2.4.4-1_x86_64.ipk.tar.gz differ diff --git a/test/test_data/icecast.py b/test/test_data/icecast.py index 49eb3e6419..e849294944 100644 --- a/test/test_data/icecast.py +++ b/test/test_data/icecast.py @@ -23,4 +23,18 @@ "version": "2.4.4", "other_products": [], }, + { + "url": "http://ftp.fr.debian.org/debian/pool/main/i/icecast2/", + "package_name": "icecast2_2.4.0-1.1+deb8u1_amd64.deb", + "product": "icecast", + "version": "2.4.0", + "other_products": [], + }, + { + "url": "https://downloads.openwrt.org/releases/packages-19.07/x86_64/packages/", + "package_name": "icecast_2.4.4-1_x86_64.ipk", + "product": "icecast", + "version": "2.4.4", + "other_products": [], + }, ]