From 02e44387f57787885633be97bfc70e1df5dcf259 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 6 Feb 2023 22:10:27 +0100 Subject: [PATCH] feat(checker): add rtmpdump (#2649) Signed-off-by: Fabrice Fontaine --- cve_bin_tool/checkers/__init__.py | 1 + cve_bin_tool/checkers/rtmpdump.py | 20 ++++++++++++++++ ...0190330.gitc5f04a5.fc37.aarch64.rpm.tar.gz | Bin 0 -> 8077 bytes ...51223.gitfa8646d.1-1%2Bb1_amd64.deb.tar.gz | Bin 0 -> 8555 bytes test/test_data/rtmpdump.py | 22 ++++++++++++++++++ 5 files changed, 43 insertions(+) create mode 100644 cve_bin_tool/checkers/rtmpdump.py create mode 100644 test/condensed-downloads/rtmpdump-2.4-22.20190330.gitc5f04a5.fc37.aarch64.rpm.tar.gz create mode 100644 test/condensed-downloads/rtmpdump_2.4%2B20151223.gitfa8646d.1-1%2Bb1_amd64.deb.tar.gz create mode 100644 test/test_data/rtmpdump.py diff --git a/cve_bin_tool/checkers/__init__.py b/cve_bin_tool/checkers/__init__.py index 4fe7064388..ddce6c3724 100644 --- a/cve_bin_tool/checkers/__init__.py +++ b/cve_bin_tool/checkers/__init__.py @@ -228,6 +228,7 @@ "raptor", "rdesktop", "rtl_433", + "rtmpdump", "rsync", "rsyslog", "rust", diff --git a/cve_bin_tool/checkers/rtmpdump.py b/cve_bin_tool/checkers/rtmpdump.py new file mode 100644 index 0000000000..62dce6e24f --- /dev/null +++ b/cve_bin_tool/checkers/rtmpdump.py @@ -0,0 +1,20 @@ +# Copyright (C) 2023 Orange +# SPDX-License-Identifier: GPL-3.0-or-later + + +""" +CVE checker for rtmpdump + +https://www.cvedetails.com/product/37077/Rtmpdump-Project-Rtmpdump.html?vendor_id=16341 + +""" +from __future__ import annotations + +from cve_bin_tool.checkers import Checker + + +class RtmpdumpChecker(Checker): + CONTAINS_PATTERNS: list[str] = [] + FILENAME_PATTERNS: list[str] = [] + VERSION_PATTERNS = [r"v([0-9]+\.[0-9]+)\r?\nRTMP"] + VENDOR_PRODUCT = [("rtmpdump_project", "rtmpdump")] diff --git a/test/condensed-downloads/rtmpdump-2.4-22.20190330.gitc5f04a5.fc37.aarch64.rpm.tar.gz b/test/condensed-downloads/rtmpdump-2.4-22.20190330.gitc5f04a5.fc37.aarch64.rpm.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..ace8b81183ed8bf99eda42eda1834f6ef3045aa0 GIT binary patch literal 8077 zcmd6sRZ|=Qw`Fm6CpZKN(73yH@IYgYySoN=cXtUM+}+*XU4jH{oZ$DHsylB}HTPj2 z=HZ;Ps&<_}uop!%5)w2N6co&-v#Xt>shgc6fP;k#z`?=7!N$(d#>vUXVqxWK!fnpR zWyH;5Zok1`>l5Zh>iX!=_Koex6h7Ow1nK53nX*8|1{fJO6`=3J35{vy9yay&(C zy~R!QKJQ1v;n6B5Cw)fQd<=ASb))mme0Vxj^gd*n-|k^0@Iu1kmp|_zXrHYvb+4kI z&$FK}J4QS9>L-`l8}|J3ZX0YqjqM#d$Xf~oc|xN5lRg47PjV&m?zt$?tW|2i8Vvk2 z%C&lyE#V7}((~=sYfMsOE9}Ob=D*=r&8dYp#iqdmmmehg7)6=XF}4u!@-H=70E^XH zx9ry5Z`VU8@;#HYu4PYu<{bFZEp_a0Ip?cSB{%ErRu6e=gO}mS%~8(r8$EX_i-%N{ ze+o|qb~tD$_ulFhRNaiBRIzDI8$EQJRS?*>$1VETZ}%m|djsc${F+h4|Ekhl6YNT^ zDiO4tcC?uBE!EAj&6aDWcFZ@h7wR`&By19c-D{J4%S!U%0G}ZBR*K(YU~Xb3Q{rZv zG>h@B+xmt{J3$FtNPDj4Nm77#N@`x$iul-lYk~> zdNq9I53(|Yt-jZTTSL!(advx&(J-40LLuQtuW>s43^cawaO^Zl%tK!gG_h8&etyxg z400or92-ir6`!-_3q#jm8=|(sr$Kv{i~hxj6&$SF=!lfXhrxI2lok1TgO7@#d$;u< zVabmqOYe$K&Ph=pH9E$oIH~%u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jO!+#{-qz0wQ{Ew$y4 zzBndxS>R@SPx@TQ#N0&A-p-_jo{0l}0MwI~K^!LVO*x)Ie;8B$?OMd|?;b41BA;`8 z8#*k|5 zVHRpS?$KPW$_|JZGLeUjZAT`7lm%5B;v}a`;05+WLCXi*^{+rzt$iYY^~V47B=A`@ zWJs!PucFT;v^u)B(DAw7}^8m0S3XKO@4f+9HA)(t2Wr7#%`I*$JSgzh5Y+HCjU zaFSdkk35G;>Zp$Q&#ZvY`IFxNT;C7*{Lh8|_xS$WyYcb;^P~3T-QYj`^5p*j`8?bG zT<-m>^#9cSKL-Hb=A+X8%frTJ+2d#VyTA2k{{IZ0F%v(fj-L&vKDE03GZQQ}&$GMp zAG$9r_Y3>F31@)Sp0kw=h!E#}cgiz^)|Z zeL&CRevp(=_JY8EDfs;SHrXK|{cFh&S^8gt67|sjd4uGqnS?`)_*W*#jevT&XWuHx$J4D`cEp zA4YVSsj5-t@Aecz%4`RG#)f`4U`lOgE$kLi9P-51;8;KUgy!ee!W}1g_}|V*=&>&- zqiBh1>R>XT-aQk|9=ko|aD}J-JvE84Ut^?KlX7tLd@Vsg)zenD;Zl6A@iX>GlyrWV zY5a2Q`q;{~%E#|2Y(d7qY3h5XC|59ishgHN0 z=NIH%q*y0Qy5sQMdR57IXxl0yE}PBop-tep#(>pRlgkNceprZ80dH&X_W;%Z&zgJ7 m_8Cax`J4h37yq&|8JX*xIO6|sh1Z6EBC-_73PW8(LH!q%%g2iV literal 0 HcmV?d00001 diff --git a/test/condensed-downloads/rtmpdump_2.4%2B20151223.gitfa8646d.1-1%2Bb1_amd64.deb.tar.gz b/test/condensed-downloads/rtmpdump_2.4%2B20151223.gitfa8646d.1-1%2Bb1_amd64.deb.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3980d265f4867733e71fcb5f644904d7a60bbe65 GIT binary patch literal 8555 zcmb7pRZt~R)7-@!7I*i>9TxYCE$;5_?(XjH?(WXw?kw)GI9y&9#UVDzv{fq zoUX2(c{$T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fZL$^`3R zd=J|bh=p2j{sIev-67|OMx!Mhy9``*bdWrnWoX_qpGwzXnJSs$JzGeNOkl|vKWpe# zMG#(OB4q8PJb&u{HmBlN9@b3p-npu}tbYgk+If`MxD2xJznuKsr{l^G8C2IX`UFrg z@&2$pg5i=mNR^jNs79Zr{a6vJ&9J^%i%Rjoq7t*w_p`$;k|Rd++13j=pY(JDtwlW$ z=+^?T(XV_{4dOL+av8jrD(rahQ~MUGH$ISxpO!1|+Io+>Qp%J{{KsQpYrtHn` ye?)7ADpf0-|ChD?N50qcf5QJq3;zF#{$E6&XZip6?B>5b31VIDu>)=afd2;2D&JH9 literal 0 HcmV?d00001 diff --git a/test/test_data/rtmpdump.py b/test/test_data/rtmpdump.py new file mode 100644 index 0000000000..ca2229439a --- /dev/null +++ b/test/test_data/rtmpdump.py @@ -0,0 +1,22 @@ +# Copyright (C) 2023 Orange +# SPDX-License-Identifier: GPL-3.0-or-later + +mapping_test_data = [ + {"product": "rtmpdump", "version": "2.4", "version_strings": ["v2.4\nRTMPDump"]} +] +package_test_data = [ + { + "url": "http://rpmfind.net/linux/rpmfusion/free/fedora/development/rawhide/Everything/aarch64/os/Packages/r/", + "package_name": "rtmpdump-2.4-22.20190330.gitc5f04a5.fc37.aarch64.rpm", + "product": "rtmpdump", + "version": "2.4", + "other_products": [], + }, + { + "url": "http://ftp.fr.debian.org/debian/pool/main/r/rtmpdump/", + "package_name": "rtmpdump_2.4%2B20151223.gitfa8646d.1-1%2Bb1_amd64.deb", + "product": "rtmpdump", + "version": "2.4", + "other_products": [], + }, +]