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 . MGASA-2024-0295 - Updated libpcap packages fix security vulnerabilities Publication date: 11 Sep 2024 URL: https://advisories.mageia.org/MGASA-2024-0295.html Type: security Affected Mageia releases: 9 CVE: CVE-2023-7256, CVE-2024-8006 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. (CVE-2023-7256) Remote packet capture support is disabled by default in libpcap. When a user builds libpcap with remote packet capture support enabled, one of the functions that become available is pcap_findalldevs_ex(). One of the function arguments can be a filesystem path, which normally means a directory with input data files. When the specified path cannot be used as a directory, the function receives NULL from opendir(), but does not check the return value and passes the NULL value to readdir(), which causes a NULL pointer derefence. (CVE-2024-8006) References: - https://bugs.mageia.org/show_bug.cgi?id=33537 - - https://www.cve.org/CVERecord?id=CVE-2023-7256 - https://www.cve.org/CVERecord?id=CVE-2024-8006 SRPMS: - 9/core/libpcap-1.10.5-1.mga9 . Mageia's recent libpcap updates resolve critical vulnerabilities, targeting hazards associated with improper memory handling during packet sniffing.. libpcap security, Mageia update, remote packet capture, memory management fix. . Severity: Critical.LinuxSecurity.com Team
Get the latest Linux and open source security news straight to your inbox.