Lucene search

K
cveTcpdumpCVE-2024-8006
HistoryAug 31, 2024 - 12:15 a.m.

CVE-2024-8006

2024-08-3100:15:05
CWE-476
Tcpdump
web.nvd.nist.gov
29
libpcap
remote
vulnerability
null pointer

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

AI Score

4.8

Confidence

High

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.

Affected configurations

Nvd
Node
tcpdumplibpcapRange<1.10.5
VendorProductVersionCPE
tcpdumplibpcap*cpe:2.3:a:tcpdump:libpcap:*:*:*:*:*:*:*:*

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

AI Score

4.8

Confidence

High

EPSS

0

Percentile

9.5%