CONTENTUM.COMA specialist. A plan. A result.

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

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.