Name | CVE-2023-7256 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libpcap (PTS) | jessie, jessie (lts) | 1.6.2-2+deb8u1 | vulnerable |
| stretch (security), stretch (lts), stretch | 1.8.1-3+deb9u1 | vulnerable |
| buster | 1.8.1-6+deb10u1 | vulnerable |
| bullseye | 1.10.0-2 | vulnerable |
| bookworm | 1.10.3-1 | vulnerable |
| sid, trixie | 1.10.5-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libpcap | source | (unstable) | 1.10.5-1 | unimportant | | |
Notes
https://github.com/the-tcpdump-group/libpcap/commit/262e4f34979872d822ccedf9f318ed89c4d31c03 (master)
https://github.com/the-tcpdump-group/libpcap/commit/2aa69b04d8173b18a0e3492e0c8f2f7fabdf642d (libpcap-1.10.5)
Builts in Debian do not enable remote package capture (--enable-remote)