diff --git a/cve_bin_tool/checkers/subversion.py b/cve_bin_tool/checkers/subversion.py index 335428127c..da26157b7c 100644 --- a/cve_bin_tool/checkers/subversion.py +++ b/cve_bin_tool/checkers/subversion.py @@ -36,5 +36,6 @@ class SubversionChecker(Checker): ] VERSION_PATTERNS = [ r"subversion-([0-9]+\.[0-9]+\.[0-9]+)", + r"([0-9]+\.[0-9]+\.[0-9]+) [A-Za-z0-9_>/'%;! \-\.\(\)\r\n]*subversion", ] VENDOR_PRODUCT = [("subversion", "subversion"), ("apache", "subversion")] diff --git a/test/condensed-downloads/libsvn1_1.14.1-3+deb11u1_arm64.deb.tar.gz b/test/condensed-downloads/libsvn1_1.14.1-3+deb11u1_arm64.deb.tar.gz new file mode 100644 index 0000000000..85c50c96bc Binary files /dev/null and b/test/condensed-downloads/libsvn1_1.14.1-3+deb11u1_arm64.deb.tar.gz differ diff --git a/test/condensed-downloads/subversion-libs_1.12.2-2_x86_64.ipk.tar.gz b/test/condensed-downloads/subversion-libs_1.12.2-2_x86_64.ipk.tar.gz new file mode 100644 index 0000000000..44978a1b25 Binary files /dev/null and b/test/condensed-downloads/subversion-libs_1.12.2-2_x86_64.ipk.tar.gz differ diff --git a/test/test_data/subversion.py b/test/test_data/subversion.py index 8eacec0c79..53cf25f030 100644 --- a/test/test_data/subversion.py +++ b/test/test_data/subversion.py @@ -18,5 +18,17 @@ "package_name": "subversion_1.9.3-2ubuntu1_arm64.deb", "product": "subversion", "version": "1.9.3", - } + }, + { + "url": "http://ftp.fr.debian.org/debian/pool/main/s/subversion/", + "package_name": "libsvn1_1.14.1-3+deb11u1_arm64.deb", + "product": "subversion", + "version": "1.14.1", + }, + { + "url": "https://downloads.openwrt.org/releases/packages-19.07/x86_64/packages/", + "package_name": "subversion-libs_1.12.2-2_x86_64.ipk", + "product": "subversion", + "version": "1.12.2", + }, ]