Logo
vulnerabilityCVE-2024-8006
Name
CVE-2024-8006
Source
NVD ( link)Debian ( link)
Description
Remote packet capture support is disabled by default in libpcap. When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex(). One of the function arguments can be a filesystem path, which normally means a directory with input data files. When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
libpcap
Patched

Vulnerability Ratings#


4.4
CVSSv31
4.4
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
1.10.6
Not Affected
buildroot
master
1.10.6
Not Affected
openwrt
master
1.10.6-r1
Not Affected
openwrt
openwrt-25.12
1.10.6-r1
Not Affected
yocto
master
1.10.6
Not Affected
yocto
scarthgap
1.10.4
Patched

Resolved with patches#


libpcap (yocto:kirkstone)

#
Title
Author
Resolve
1
makes pcap_findalldevs_ex errors out if the directory does
Nicolas Badoux <n.badoux@hotmail.com>
CVE-2024-8006

libpcap (yocto:scarthgap)

#
Title
Author
Resolve
1
makes pcap_findalldevs_ex errors out if the directory does
Nicolas Badoux <n.badoux@hotmail.com>
CVE-2024-8006