tcpdump libpcap up to 1.9.x/1.10.4 pcap_findalldevs_ex null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
3.7$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 3.7
VulDB 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): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 210130
Nessus Name: CBL Mariner 2.0 Security Update: libpcap (CVE-2024-8006)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 0f8a103469ce87d2b8d68c5130a46ddb7fb5eb29

Timelineinfo

08/20/2024 🔍
08/31/2024 +11 days 🔍
08/31/2024 +0 days 🔍
11/03/2024 +64 days 🔍

Sourcesinfo

Advisory: 0f8a103469ce87d2b8d68c5130a46ddb7fb5eb29
Researcher: Flavio Toffalini
Status: Confirmed

CVE: CVE-2024-8006 (🔍)
GCVE (CVE): GCVE-0-2024-8006
GCVE (VulDB): GCVE-100-276253

Entryinfo

Created: 08/31/2024 02:31
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!