tcpdump libpcap up to 1.9.x/1.10.4 pcap_findalldevs_ex null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 3.7 | $0-$5k | 0.00 |
Summary
A vulnerability was found in tcpdump libpcap up to 1.9.x/1.10.4. It has been classified as problematic. Affected is the function pcap_findalldevs_ex. This manipulation causes null pointer dereference.
This vulnerability appears as CVE-2024-8006. The attack requires local access. There is no available exploit.
Applying a patch is the recommended action to fix this issue.
Details
A vulnerability was found in tcpdump libpcap up to 1.9.x/1.10.4. It has been declared as problematic. Affected by this vulnerability is the function pcap_findalldevs_ex. The manipulation with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect availability. The summary by CVE is:
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.
The weakness was presented by Flavio Toffalini as 0f8a103469ce87d2b8d68c5130a46ddb7fb5eb29. The advisory is shared at github.com. This vulnerability is known as CVE-2024-8006 since 08/20/2024. The exploitation appears to be easy. An attack has to be approached locally. Additional levels of successful authentication are necessary for exploitation. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 210130 (CBL Mariner 2.0 Security Update: libpcap (CVE-2024-8006)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 0f8a103469ce87d2b8d68c5130a46ddb7fb5eb29 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (210130). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 3.7VulDB Meta Temp Score: 3.7
VulDB Base Score: 2.3
VulDB Temp Score: 2.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 4.4
NVD Vector: 🔍
CNA Base Score: 4.4
CNA Vector (Tcpdump): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 210130
Nessus Name: CBL Mariner 2.0 Security Update: libpcap (CVE-2024-8006)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 0f8a103469ce87d2b8d68c5130a46ddb7fb5eb29
Timeline
08/20/2024 🔍08/31/2024 🔍
08/31/2024 🔍
11/03/2024 🔍
Sources
Advisory: 0f8a103469ce87d2b8d68c5130a46ddb7fb5eb29Researcher: Flavio Toffalini
Status: Confirmed
CVE: CVE-2024-8006 (🔍)
GCVE (CVE): GCVE-0-2024-8006
GCVE (VulDB): GCVE-100-276253
Entry
Created: 08/31/2024 02:31Updated: 11/03/2024 03:46
Changes: 08/31/2024 02:31 (68), 09/04/2024 06:14 (1), 09/20/2024 01:59 (11), 11/03/2024 03:46 (2)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.