libpcap: Remote packet capture support is disabled by default in libpcap
CVE-2024-8006 is fixed in libpcap on 1 platform, first by DEBIAN-CVE-2024-8006, released August 31, 2024. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libpcap · Debian 13.5 (trixie) | 1.10.5-1 | DEBIAN-CVE-2024-8006 | Aug 31, 2024 |
| libpcap · Debian 14 | 1.10.5-1 | DEBIAN-CVE-2024-8006 | Aug 31, 2024 |
| libpcap · opensuse-leap 15.6 | 1.10.4-150600.3.3.2 | SUSE-SU-2024:3217-1 | Sep 12, 2024 |
| libpcap · sles 15.6 | 1.10.4-150600.3.3.2 | SUSE-SU-2024:3217-1 | Sep 12, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.