Skip to content

Commit 8c0badf

Browse files
authored
Merge branch 'main' into noscan-OPengine-update
2 parents 4063942 + 8f8acb3 commit 8c0badf

File tree

71 files changed

+919
-331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+919
-331
lines changed

.github/actions/spelling/allow.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ conventionalcommits
110110
copyleft
111111
coreinfrastructure
112112
coreutils
113+
corosync
113114
cpanfile
114115
cpe
115116
cpio
@@ -539,6 +540,7 @@ open
539540
openafs
540541
openblas
541542
opencv
543+
openimageio
542544
openjpeg
543545
openldap
544546
opensc
@@ -743,6 +745,7 @@ tor
743745
toybox
744746
tpm
745747
traceroute
748+
traffic
746749
transmission
747750
triaging
748751
trousers
@@ -849,4 +852,5 @@ zshrc
849852
zst
850853
zstandard
851854
zstd
855+
zziplib
852856

README.md

Lines changed: 56 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CVE Binary Tool uses the NVD API but is not endorsed or certified by the NVD.
1616

1717
The tool has two main modes of operation:
1818

19-
1. A binary scanner which helps you determine which packages may have been included as part of a piece of software. There are <!-- NUMBER OF CHECKERS START-->410<!--NUMBER OF CHECKERS END--> checkers. Our initial focus was on common, vulnerable open source components such as openssl, libpng, libxml2 and expat.
19+
1. A binary scanner which helps you determine which packages may have been included as part of a piece of software. There are <!-- NUMBER OF CHECKERS START-->414<!--NUMBER OF CHECKERS END--> checkers. Our initial focus was on common, vulnerable open source components such as openssl, libpng, libxml2 and expat.
2020

2121
2. Tools for scanning known component lists in various formats, including .csv, several linux distribution package lists, language specific package scanners and several Software Bill of Materials (SBOM) formats.
2222

@@ -226,66 +226,67 @@ The following checkers are available for finding components in binary files:
226226

227227
<!--CHECKERS TABLE BEGIN-->
228228
| | | | Available checkers | | | |
229-
|----------------- |--------------- |------------------ |------------- |---------------- |-------------- |--------------- |
229+
|--------------- |--------------- |------------------ |----------- |---------------- |-------------- |-------------- |
230230
| accountsservice |acpid |apache_http_server |apcupsd |apparmor |apr |asn1c |
231231
| assimp |asterisk |atftp |augeas |avahi |axel |bash |
232232
| bind |binutils |bird |bison |bluez |boa |boinc |
233233
| botan |bro |bubblewrap |busybox |bwm_ng |bzip2 |c_ares |
234234
| cairo |capnproto |captive_portal |ceph |cflow |chess |chrony |
235235
| civetweb |clamav |clang |collectd |commons_compress |connman |coreutils |
236-
| cpio |cpp_httplib |cronie |cryptsetup |cups |cups_filters |curl |
237-
| cvs |darkhttpd |dav1d |davfs2 |dbus |debianutils |dhclient |
238-
| dhcpcd |dhcpd |djvulibre |dlt_daemon |dmidecode |dnsmasq |docker |
239-
| domoticz |dosfstools |dotnet |dovecot |doxygen |dpkg |dropbear |
240-
| e2fsprogs |ed |elfutils |emacs |enscript |exfatprogs |exim |
241-
| exiv2 |f2fs_tools |faad2 |fastd |ffmpeg |file |firefox |
242-
| firejail |flac |fluidsynth |freeradius |freerdp |fribidi |frr |
243-
| fuse |gawk |gcc |gdal |gdb |gdk_pixbuf |gettext |
244-
| ghostscript |gimp |git |glib |glibc |gmp |gnomeshell |
245-
| gnupg |gnutls |go |gpgme |gpsd |graphicsmagick |grep |
246-
| grub2 |gsasl |gstreamer |guile |gupnp |gvfs |gzip |
247-
| haproxy |harfbuzz |haserl |hdf5 |heimdal |hostapd |hunspell |
248-
| hwloc |i2pd |icecast |icu |imagemagick |indent |inetutils |
249-
| iperf3 |ipmitool |ipsec_tools |iptables |irssi |iucode_tool |iwd |
250-
| jack2 |jacksondatabind |janus |jasper |jbig |jhead |jq |
251-
| json_c |kbd |keepalived |kerberos |kexectools |kodi |kubernetes |
252-
| ldns |lftp |libarchive |libass |libbpg |libcap |libcoap |
253-
| libconfuse |libcurl |libdb |libde265 |libebml |libevent |libexpat |
254-
| libgcrypt |libgd |libgit2 |libheif |libical |libidn2 |libinput |
255-
| libjpeg |libjpeg_turbo |libksba |liblas |liblouis |libmatroska |libmemcached |
256-
| libmicrohttpd |libmodbus |libnss |libopenmpt |libpcap |libraw |libreoffice |
257-
| libreswan |librsvg |librsync |libsamplerate |libseccomp |libsndfile |libsolv |
258-
| libsoup |libsrtp |libssh |libssh2 |libtasn1 |libtiff |libtomcrypt |
259-
| libupnp |libuv |libvips |libvirt |libvncserver |libvorbis |libvpx |
260-
| libxslt |libyaml |libyang |lighttpd |linux_kernel |linuxptp |lldpd |
261-
| llvm |logrotate |lrzip |lua |luajit |lxc |lynx |
262-
| lz4 |lzo2 |mailx |mariadb |mbedtls |mdadm |memcached |
263-
| micropython |minetest |mini_httpd |minicom |minidlna |miniupnpc |miniupnpd |
264-
| moby |modsecurity |monit |mosquitto |motion |mp4v2 |mpg123 |
265-
| mpv |msmtp |mtr |mupdf |musl |mutt |mysql |
266-
| nano |nasm |nbd |ncurses |neon |nessus |netatalk |
267-
| netdata |netkit_ftp |netpbm |nettle |nghttp2 |nginx |ngircd |
268-
| nmap |node |ntfs_3g |ntp |ntpsec |oath_toolkit |ofono |
269-
| open_iscsi |open_vm_tools |openafs |openblas |opencv |openjpeg |openldap |
270-
| opensc |openssh |openssl |openswan |openvpn |openvswitch |orc |
271-
| p7zip |pango |patch |pcre |pcre2 |pcsc_lite |perl |
272-
| php |picocom |pigz |pixman |pjsip |png |polarssl_fedora |
273-
| poppler |postgresql |ppp |privoxy |procps_ng |proftpd |protobuf_c |
274-
| pspp |pure_ftpd |putty |python |qemu |qpdf |qt |
275-
| quagga |radare2 |radvd |raptor |rauc |rdesktop |readline |
276-
| redis |rpm |rsync |rsyslog |rtl_433 |rtmpdump |ruby |
277-
| runc |rust |samba |sane_backends |sasl |sdl |seahorse |
278-
| shadowsocks_libev |snapd |sngrep |snort |socat |sofia_sip |speex |
279-
| spice |sqlite |squashfs |squid |sslh |stellarium |strongswan |
280-
| stunnel |subversion |sudo |suricata |sylpheed |syslogng |sysstat |
281-
| systemd |tar |tbb |tcpdump |tcpreplay |terminology |tesseract |
282-
| thrift |thttpd |thunderbird |timescaledb |tinyproxy |tor |toybox |
283-
| tpm2_tss |traceroute |transmission |trousers |ttyd |twonky_server |u_boot |
284-
| udisks |unbound |unixodbc |upx |util_linux |uwsgi |varnish |
285-
| vim |vlc |vorbis_tools |vsftpd |wavpack |webkitgtk |wget |
286-
| wireshark |wolfssl |wpa_supplicant |xerces |xml2 |xpdf |xscreensaver |
287-
| xwayland |xz |yasm |zabbix |zbar |zchunk |zeek |
288-
| zlib |znc |zsh |zstandard | | | |
236+
| corosync |cpio |cpp_httplib |cronie |cryptsetup |cups |cups_filters |
237+
| curl |cvs |darkhttpd |dav1d |davfs2 |dbus |debianutils |
238+
| dhclient |dhcpcd |dhcpd |djvulibre |dlt_daemon |dmidecode |dnsmasq |
239+
| docker |domoticz |dosfstools |dotnet |dovecot |doxygen |dpkg |
240+
| dropbear |e2fsprogs |ed |elfutils |emacs |enscript |exfatprogs |
241+
| exim |exiv2 |f2fs_tools |faad2 |fastd |ffmpeg |file |
242+
| firefox |firejail |flac |fluidsynth |freeradius |freerdp |fribidi |
243+
| frr |fuse |gawk |gcc |gdal |gdb |gdk_pixbuf |
244+
| gettext |ghostscript |gimp |git |glib |glibc |gmp |
245+
| gnomeshell |gnupg |gnutls |go |gpgme |gpsd |graphicsmagick |
246+
| grep |grub2 |gsasl |gstreamer |guile |gupnp |gvfs |
247+
| gzip |haproxy |harfbuzz |haserl |hdf5 |heimdal |hostapd |
248+
| hunspell |hwloc |i2pd |icecast |icu |imagemagick |indent |
249+
| inetutils |iperf3 |ipmitool |ipsec_tools |iptables |irssi |iucode_tool |
250+
| iwd |jack2 |jacksondatabind |janus |jasper |jbig |jhead |
251+
| jq |json_c |kbd |keepalived |kerberos |kexectools |kodi |
252+
| kubernetes |ldns |lftp |libarchive |libass |libbpg |libcap |
253+
| libcoap |libconfuse |libcurl |libdb |libde265 |libebml |libevent |
254+
| libexpat |libgcrypt |libgd |libgit2 |libheif |libical |libidn2 |
255+
| libinput |libjpeg |libjpeg_turbo |libksba |liblas |liblouis |libmatroska |
256+
| libmemcached |libmicrohttpd |libmodbus |libnss |libopenmpt |libpcap |libraw |
257+
| libreoffice |libreswan |librsvg |librsync |libsamplerate |libseccomp |libsndfile |
258+
| libsolv |libsoup |libsrtp |libssh |libssh2 |libtasn1 |libtiff |
259+
| libtomcrypt |libupnp |libuv |libvips |libvirt |libvncserver |libvorbis |
260+
| libvpx |libxslt |libyaml |libyang |lighttpd |linux_kernel |linuxptp |
261+
| lldpd |llvm |logrotate |lrzip |lua |luajit |lxc |
262+
| lynx |lz4 |lzo2 |mailx |mariadb |mbedtls |mdadm |
263+
| memcached |micropython |minetest |mini_httpd |minicom |minidlna |miniupnpc |
264+
| miniupnpd |moby |modsecurity |monit |mosquitto |motion |mp4v2 |
265+
| mpg123 |mpv |msmtp |mtr |mupdf |musl |mutt |
266+
| mysql |nano |nasm |nbd |ncurses |neon |nessus |
267+
| netatalk |netdata |netkit_ftp |netpbm |nettle |nghttp2 |nginx |
268+
| ngircd |nmap |node |ntfs_3g |ntp |ntpsec |oath_toolkit |
269+
| ofono |open_iscsi |open_vm_tools |openafs |openblas |opencv |openimageio |
270+
| openjpeg |openldap |opensc |openssh |openssl |openswan |openvpn |
271+
| openvswitch |orc |p7zip |pango |patch |pcre |pcre2 |
272+
| pcsc_lite |perl |php |picocom |pigz |pixman |pjsip |
273+
| png |polarssl_fedora |poppler |postgresql |ppp |privoxy |procps_ng |
274+
| proftpd |protobuf_c |pspp |pure_ftpd |putty |python |qemu |
275+
| qpdf |qt |quagga |radare2 |radvd |raptor |rauc |
276+
| rdesktop |readline |redis |rpm |rsync |rsyslog |rtl_433 |
277+
| rtmpdump |ruby |runc |rust |samba |sane_backends |sasl |
278+
| sdl |seahorse |shadowsocks_libev |snapd |sngrep |snort |socat |
279+
| sofia_sip |speex |spice |sqlite |squashfs |squid |sslh |
280+
| stellarium |strongswan |stunnel |subversion |sudo |suricata |sylpheed |
281+
| syslogng |sysstat |systemd |tar |tbb |tcpdump |tcpreplay |
282+
| terminology |tesseract |thrift |thttpd |thunderbird |timescaledb |tinyproxy |
283+
| tor |toybox |tpm2_tss |traceroute |traffic_server |transmission |trousers |
284+
| ttyd |twonky_server |u_boot |udisks |unbound |unixodbc |upx |
285+
| util_linux |uwsgi |varnish |vim |vlc |vorbis_tools |vsftpd |
286+
| wavpack |webkitgtk |wget |wireshark |wolfssl |wpa_supplicant |xerces |
287+
| xml2 |xpdf |xscreensaver |xwayland |xz |yasm |zabbix |
288+
| zbar |zchunk |zeek |zlib |znc |zsh |zstandard |
289+
| zziplib | | | | | | |
289290
<!--CHECKERS TABLE END-->
290291

291292
All the checkers can be found in the checkers directory, as can the

cve_bin_tool/checkers/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"VendorProductPair",
2626
"accountsservice",
2727
"acpid",
28+
"aomedia",
2829
"apache_http_server",
2930
"apcupsd",
3031
"apparmor",
@@ -54,10 +55,12 @@
5455
"cairo",
5556
"capnproto",
5657
"captive_portal",
58+
"catdoc",
5759
"ceph",
5860
"cflow",
5961
"chess",
6062
"chrony",
63+
"cifs_utils",
6164
"civetweb",
6265
"clang",
6366
"clamav",
@@ -105,6 +108,7 @@
105108
"f2fs_tools",
106109
"faad2",
107110
"fastd",
111+
"fastnetmon",
108112
"ffmpeg",
109113
"file",
110114
"firefox",
@@ -161,6 +165,7 @@
161165
"ipmitool",
162166
"ipsec_tools",
163167
"iptables",
168+
"iputils",
164169
"irssi",
165170
"iucode_tool",
166171
"iwd",
@@ -196,6 +201,7 @@
196201
"libgd",
197202
"libgit2",
198203
"libheif",
204+
"libhtp",
199205
"libical",
200206
"libidn2",
201207
"libinput",
@@ -218,6 +224,7 @@
218224
"librsync",
219225
"libsamplerate",
220226
"libseccomp",
227+
"libsixel",
221228
"libsndfile",
222229
"libsolv",
223230
"libsoup",
@@ -302,6 +309,7 @@
302309
"openafs",
303310
"openblas",
304311
"opencv",
312+
"openimageio",
305313
"openjpeg",
306314
"openldap",
307315
"opensc",
@@ -361,6 +369,7 @@
361369
"sdl",
362370
"seahorse",
363371
"shadowsocks_libev",
372+
"snapcast",
364373
"sngrep",
365374
"snort",
366375
"socat",
@@ -414,6 +423,7 @@
414423
"vorbis_tools",
415424
"vsftpd",
416425
"vim",
426+
"wabt",
417427
"wavpack",
418428
"webkitgtk",
419429
"wget",

cve_bin_tool/checkers/aomedia.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (C) 2025 Orange
2+
# SPDX-License-Identifier: GPL-3.0-or-later
3+
4+
5+
"""
6+
CVE checker for aomedia
7+
8+
https://www.cvedetails.com/product/94899/Aomedia-Aomedia.html?vendor_id=24569
9+
10+
"""
11+
from __future__ import annotations
12+
13+
from cve_bin_tool.checkers import Checker
14+
15+
16+
class AomediaChecker(Checker):
17+
CONTAINS_PATTERNS: list[str] = []
18+
FILENAME_PATTERNS: list[str] = []
19+
VERSION_PATTERNS = [r"AOMedia[a-zA-Z0-9 ]*([0-9]+\.[0-9]+\.[0-9]+)"]
20+
VENDOR_PRODUCT = [("aomedia", "aomedia")]

cve_bin_tool/checkers/catdoc.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (C) 2025 Orange
2+
# SPDX-License-Identifier: GPL-3.0-or-later
3+
4+
5+
"""
6+
CVE checker for catdoc
7+
8+
https://www.cvedetails.com/product/139726/Catdoc-Project-Catdoc.html?vendor_id=30573
9+
10+
"""
11+
from __future__ import annotations
12+
13+
from cve_bin_tool.checkers import Checker
14+
15+
16+
class CatdocChecker(Checker):
17+
CONTAINS_PATTERNS: list[str] = []
18+
FILENAME_PATTERNS: list[str] = []
19+
VERSION_PATTERNS = [r"([0-9]+\.[0-9]+)\r?\nCatdoc Version"]
20+
VENDOR_PRODUCT = [("catdoc_project", "catdoc"), ("fossies", "catdoc")]

cve_bin_tool/checkers/cifs_utils.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (C) 2025 Orange
2+
# SPDX-License-Identifier: GPL-3.0-or-later
3+
4+
5+
"""
6+
CVE checker for cifs-utils
7+
8+
https://www.cvedetails.com/product/81639/Samba-Cifs-utils.html?vendor_id=102
9+
10+
"""
11+
from __future__ import annotations
12+
13+
from cve_bin_tool.checkers import Checker
14+
15+
16+
class CifsUtilsChecker(Checker):
17+
CONTAINS_PATTERNS: list[str] = []
18+
FILENAME_PATTERNS: list[str] = []
19+
VERSION_PATTERNS = [r"mount\.cifs[A-Za-z0-9%: \"\-\.\r\n]*([0-9]+\.[0-9]+)"]
20+
VENDOR_PRODUCT = [("samba", "cifs-utils")]

cve_bin_tool/checkers/fastnetmon.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (C) 2025 Orange
2+
# SPDX-License-Identifier: GPL-3.0-or-later
3+
4+
5+
"""
6+
CVE checker for fastnetmon
7+
8+
https://www.cvedetails.com/product/88854/Motion-Project-Motion.html?vendor_id=23775
9+
10+
"""
11+
from __future__ import annotations
12+
13+
from cve_bin_tool.checkers import Checker
14+
15+
16+
class FastnetmonChecker(Checker):
17+
CONTAINS_PATTERNS: list[str] = []
18+
FILENAME_PATTERNS: list[str] = []
19+
VERSION_PATTERNS = [r"fastnetmon-([0-9]+\.[0-9]+\.[0-9]+)"]
20+
VENDOR_PRODUCT = [("pavel-odintsov", "fastnetmon")]

cve_bin_tool/checkers/iptables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class IptablesChecker(Checker):
1717
CONTAINS_PATTERNS: list[str] = []
1818
FILENAME_PATTERNS: list[str] = []
1919
VERSION_PATTERNS = [
20-
r"\r?\n([0-9]{1,2}\.[0-9]+\.[0-9]+\.?[0-9]*)\r?\niptables",
20+
r"\r?\n([1-9]{1,2}\.[0-9]+\.[0-9]+\.?[0-9]*)\r?\niptables",
2121
r"iptables-([0-9]+\.[0-9]+\.[0-9]+\.?[0-9]*)",
2222
r"iptables-rules>[a-zA-Z %:\r\n]*([0-9]+\.[0-9]+\.[0-9]+\.?[0-9]*)",
2323
r"iptables-save v%s on %s\r?\n([0-9]+\.[0-9]+\.[0-9]+\.?[0-9]*)",

cve_bin_tool/checkers/iputils.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright (C) 2025 Orange
2+
# SPDX-License-Identifier: GPL-3.0-or-later
3+
4+
5+
"""
6+
CVE checker for iputils
7+
8+
https://www.cvedetails.com/product/150862/Iputils-Project-Iputils.html?vendor_id=31725
9+
10+
"""
11+
from __future__ import annotations
12+
13+
from cve_bin_tool.checkers import Checker
14+
15+
16+
class IputilsChecker(Checker):
17+
CONTAINS_PATTERNS: list[str] = []
18+
FILENAME_PATTERNS: list[str] = []
19+
VERSION_PATTERNS = [
20+
r"([0-9]+)\r?\n[a-z, ]*iputils",
21+
r"iputils[A-Za-z0-9 \-\r\n]*\r?\n([0-9]+)\r?\n",
22+
]
23+
VENDOR_PRODUCT = [("iputils_project", "iputils")]

cve_bin_tool/checkers/libhtp.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (C) 2025 Orange
2+
# SPDX-License-Identifier: GPL-3.0-or-later
3+
4+
5+
"""
6+
CVE checker for libhtp
7+
8+
https://www.cvedetails.com/product/52627/Oisf-Libhtp.html?vendor_id=17892
9+
10+
"""
11+
from __future__ import annotations
12+
13+
from cve_bin_tool.checkers import Checker
14+
15+
16+
class LibhtpChecker(Checker):
17+
CONTAINS_PATTERNS: list[str] = []
18+
FILENAME_PATTERNS: list[str] = []
19+
VERSION_PATTERNS = [r"LibHTP v([0-9]+\.[0-9]+\.[0-9]+)"]
20+
VENDOR_PRODUCT = [("oisf", "libhtp")]

0 commit comments

Comments
 (0)