tcpdump libpcap up to 1.8.x/1.9.x/1.10.4 sock_initaddress double free

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.8.x/1.9.x/1.10.4. It has been declared as problematic. This affects the function sock_initaddress. The manipulation results in double free. This vulnerability is known as CVE-2023-7256. Attacking locally is a requirement. No exploit is available. Applying a patch is advised to resolve this issue.

Detailsinfo

A vulnerability, which was classified as problematic, was found in tcpdump libpcap up to 1.8.x/1.9.x/1.10.4. Affected is the function sock_initaddress. The manipulation with an unknown input leads to a double free vulnerability. CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. This is going to have an impact on availability. CVE summarizes:

In affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddress() calls getaddrinfo() and possibly freeaddrinfo(), but does not clearly indicate to the caller function whether freeaddrinfo() still remains to be called after the function returns. This makes it possible in some scenarios that both the function and its caller call freeaddrinfo() for the same allocated memory block. A similar problem was reported in Apple libpcap, to which Apple assigned CVE-2023-40400.

The advisory is shared for download at github.com. This vulnerability is traded as CVE-2023-7256 since 04/11/2024. The exploitability is told to be easy. The attack needs to be approached locally. The exploitation requires an enhanced level of successful authentication. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 211708 (CBL Mariner 2.0 Security Update: libpcap / nmap (CVE-2023-7256)), which helps to determine the existence of the flaw in a target environment.

Applying the patch 262e4f34979872d822ccedf9f318ed89c4d31c03 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 (211708). VulDB is the best source for vulnerability data and more expert information about this specific topic.

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: Double free
CWE: CWE-415 / CWE-119
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: 211708
Nessus Name: CBL Mariner 2.0 Security Update: libpcap / nmap (CVE-2023-7256)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 262e4f34979872d822ccedf9f318ed89c4d31c03

Timelineinfo

04/11/2024 🔍
08/31/2024 +142 days 🔍
08/31/2024 +0 days 🔍
11/22/2024 +83 days 🔍

Sourcesinfo

Advisory: 262e4f34979872d822ccedf9f318ed89c4d31c03
Status: Confirmed

CVE: CVE-2023-7256 (🔍)
GCVE (CVE): GCVE-0-2023-7256
GCVE (VulDB): GCVE-100-276240

Entryinfo

Created: 08/31/2024 02:26
Updated: 11/22/2024 05:32
Changes: 08/31/2024 02:26 (66), 09/04/2024 06:14 (1), 09/20/2024 01:59 (11), 11/22/2024 05:32 (2)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!