CVE-2023-7256 Double-free in libpcap before 1.10.5 with remote packet capture support.
MediumCVSS 4.4
EPSS 0.24%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft azure linux | < 1.10.5-1 | 1.10.5-1 |
| Microsoft azure linux | < 7.95-2 | 7.95-2 |
| Microsoft cbl mariner | < 1.10.1-4 | 1.10.1-4 |
| Microsoft cbl mariner | < 7.93-3 | 7.93-3 |
| debian/libpcap(Debian:12) | All versions | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.3-1 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.4-1 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.4-2 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.4-3 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.4-4 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.4-4.1 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.4-4.1~exp1 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.4-5 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.4-5+hurd.1 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.5-1 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.5-2 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.6-1 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.6-2 | No fix listed |
| debian/libpcap(Debian:12) | = 1.10.7-1 | No fix listed |
| debian/libpcap(Debian:12) | = 1.11.0-1 | No fix listed |
| debian/libpcap(Debian:13) | < 1.10.5-1 | 1.10.5-1 |
| debian/libpcap(Debian:14) | < 1.10.5-1 | 1.10.5-1 |
| The Tcpdump Group libpcap | = 1.8.x | No fix listed |
| The Tcpdump Group libpcap | = 1.9.x | No fix listed |
| The Tcpdump Group libpcap | >= 1.10.x, <= 1.10.4 | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| tcpdump libpcap | < 1.10.5 | 1.10.5 |
References
- MSRC Security Update Guide vendor-advisory
- libpcap vendor-advisory
- Debian Security Tracker CVE-2023-7256 vendor-advisory
- github.com patch
- github.com patch