CVE-2024-8006
Last modified
CVE-2024-8006 is a medium-severity vulnerability rated 4.4/10 on the CVSS scale. 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(). EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tcpdump | Libpcap | < 1.10.5 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-8006?
How severe is CVE-2024-8006?
How do I fix CVE-2024-8006?
Are you affected by CVE-2024-8006?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
