NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| The Tcpdump Group | libpcap | unaffected |
|
No data.
No data available yet.
Vendor Solution
Upgrade to libpcap 1.10.5.
Vendor Workaround
Do not build libpcap with remote packet capture support.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-48881 | 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. |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.244% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Tcpdump
Tcpdump libpcap |
|
| CPEs | cpe:2.3:a:tcpdump:libpcap:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Tcpdump
Tcpdump libpcap |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Title | libcap: NULL pointer derefence | NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | libcap: NULL pointer derefence | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Weaknesses | CWE-476 | |
| References |
| |
| Metrics |
cvssV3_1
|