tcpdump libpcap up to 1.8.x/1.9.x/1.10.4 sock_initaddress double free
| 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.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.
Details
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.
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: Double freeCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 211708
Nessus Name: CBL Mariner 2.0 Security Update: libpcap / nmap (CVE-2023-7256)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 262e4f34979872d822ccedf9f318ed89c4d31c03
Timeline
04/11/2024 🔍08/31/2024 🔍
08/31/2024 🔍
11/22/2024 🔍
Sources
Advisory: 262e4f34979872d822ccedf9f318ed89c4d31c03Status: Confirmed
CVE: CVE-2023-7256 (🔍)
GCVE (CVE): GCVE-0-2023-7256
GCVE (VulDB): GCVE-100-276240
Entry
Created: 08/31/2024 02:26Updated: 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.
No comments yet. Languages: en.
Please log in to comment.