CVE-2023-7256
Public on 2024-08-31
Modified on 2024-09-02
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.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 1 | compat-libcap1 | No Fix Planned | ||
Amazon Linux 2 - Core | compat-libcap1 | Not Affected | ||
Amazon Linux 1 | libcap | No Fix Planned | ||
Amazon Linux 2 - Core | libcap | Not Affected | ||
Amazon Linux 2023 | libcap | Not Affected | ||
Amazon Linux 1 | libpcap | No Fix Planned | ||
Amazon Linux 2 - Core | libpcap | Not Affected | ||
Amazon Linux 2023 | libpcap | Not Affected |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
NVD | CVSSv3 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |