CVE Tools

CVE-2024-8006

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

Published: Aug 30, 2024Updated: Sep 19, 2024 Sources: CVE List NVD BDU csafCWE-476
4.4CVSSMEDIUM

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.

CVSS Vector Breakdown

AV:LAC:LPR:HUI:NS:UC:NI:NA:H
Exploitability
AV:LAttack Vector
Local
AC:LAttack Complexity
Low
PR:HPrivileges Required
High
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:NConfidentiality
None
I:NIntegrity
None
A:HAvailability
High

Weaknesses

Affected Products

сообщество свободного программного обеспеченияoss-projectOperating Systemsaka сообщество свободного программного обеспечения, fsf
the tcpdump grouposs-projectNetworking Infrastructureaka libpcap, tcpdump
tcpdumposs-projectOSS Librariesaka libpcap, tcpdump

Attack Graph

Products CVE Techniques Tactics

Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.

Exploitability

0 exploit sources identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available
Workaround Available

MITRE ATT&CK

2 techniques
Impact
Initial Access
View detailed technique mapping

References

and 121 more references View all →

Timeline

Published
Aug 30, 2024
Last Updated
Sep 19, 2024

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2024-8006 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows