CVE-2024-8006: NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support

Published Aug 30, 2024
·
Updated

NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support

Other sources

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 pcapfindalldevsex(). 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.

MITRE

Affected Software

7 affected componentsFixes available
tcpdump Libpcap<1.10.5
Microsoft cbl2 libpcap 1.10.1-4
Microsoft cbl2 nmap 7.93-3
Microsoft azl3 nmap 7.95-2
Microsoft azl3 libpcap 1.10.5-1
Microsoft azl3 libpcap 1.10.4-1
Microsoft cbl2 libpcap 1.10.1-3

Event History

Aug 30, 2024
CVE Published
via MITRE·11:53 PM
Data Sourced
via MITRE·11:53 PM
RemedyDescriptionSeverityWeakness
Nov 1, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-8006?

CVE-2024-8006 has a moderate severity level due to the potential risk associated with enabled remote packet capture functionality.

2

How do I fix CVE-2024-8006?

To fix CVE-2024-8006, ensure that remote packet capture support is disabled in libpcap unless explicitly needed.

3

Which versions of libpcap are affected by CVE-2024-8006?

Libpcap versions prior to 1.10.5 are affected by CVE-2024-8006 if remote packet capture support is enabled.

4

What is the exploit for CVE-2024-8006?

CVE-2024-8006 can be exploited when a user provides a malicious filesystem path to the pcap_findalldevs_ex() function.

5

Is remote packet capture support enabled by default in libpcap?

No, remote packet capture support is disabled by default in libpcap.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203