Vulnerabilities · 2023 · Tcpdump
CVE-2023-7256
Tcpdump Libpcap vulnerability
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
Libpcap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Tcpdump Libpcap runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Tcpdump products
CVE-2024-8006CVE-2023-1801CVE-2021-41043CVE-2020-8037CVE-2020-8036CVE-2019-1010220CVE-2019-15167CVE-2019-15166All 181
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.