CVE-2023-7256

Sept. 19, 2024, 5:53 p.m.

CVSS Score

4.4 / 10

Products Impacted

Vendor Product Versions
tcpdump
  • libpcap
  • *

Description

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.

Weaknesses

CWE-415
Double Free

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

CWE ID: 415

Date

Published: Aug. 31, 2024, 12:15 a.m.

Last Modified: Sept. 19, 2024, 5:53 p.m.

Status : Analyzed

CVE has been recently published to the CVE List and has been received by the NVD.

More info

Source

security@tcpdump.org

CPEs

Type Vendor Product Version Update Edition Language Software Edition Target Software Target Hardware Other Information
a tcpdump libpcap / / / / / / / /

CVSS Data

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

Base Score
4.4
Exploitability Score
0.8
Impact Score
3.6
Base Severity
MEDIUM
CVSS Vector String

The CVSS vector string provides an in-depth view of the vulnerability metrics.

View Vector String

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

References