Lucene search

K
cvelistTcpdumpCVELIST:CVE-2024-8006
HistoryAug 30, 2024 - 11:53 p.m.

CVE-2024-8006 NULL pointer dereference in libpcap before 1.10.5 with remote packet capture support

2024-08-3023:53:11
CWE-476
Tcpdump
www.cve.org
5
remote packet capture
libpcap
null pointer dereference

CVSS3

4.4

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

EPSS

0

Percentile

9.5%

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.

CNA Affected

[
  {
    "defaultStatus": "unaffected",
    "modules": [
      "remote packet capture"
    ],
    "product": "libpcap",
    "programRoutines": [
      {
        "name": "pcap_findalldevs_ex()"
      }
    ],
    "repo": "https://github.com/the-tcpdump-group/libpcap/",
    "vendor": "The Tcpdump Group",
    "versions": [
      {
        "status": "affected",
        "version": "1.9.x"
      },
      {
        "lessThanOrEqual": "1.10.4",
        "status": "affected",
        "version": "1.10.x",
        "versionType": "semver"
      }
    ]
  }
]

CVSS3

4.4

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

EPSS

0

Percentile

9.5%