Vulnerabilities · 2024 · Tcpdump
CVE-2024-8006
Tcpdump Libpcap vulnerability
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.
Affected products
Libpcap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Tcpdump Libpcap runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Tcpdump products
CVE-2023-7256CVE-2023-1801CVE-2021-41043CVE-2020-8037CVE-2020-8036CVE-2019-1010220CVE-2019-15167CVE-2019-15166All 181
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.