CVE-2024-8006

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-8006
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-8006.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-8006
Related
Published
2024-08-31T00:15:05Z
Modified
2024-10-12T11:33:02.119167Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 pcapfindalldevsex(). 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.

References

Affected packages

Debian:11 / libpcap

Package

Name
libpcap
Purl
pkg:deb/debian/libpcap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.10.0-2
1.10.1-1
1.10.1-2
1.10.1-3
1.10.1-4~bpo11+1
1.10.1-4
1.10.2-1~bpo11+1
1.10.2-1
1.10.3-1~bpo11+1
1.10.3-1
1.10.4-1
1.10.4-2
1.10.4-3
1.10.4-4
1.10.4-4.1~exp1
1.10.4-4.1
1.10.4-5
1.10.5-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / libpcap

Package

Name
libpcap
Purl
pkg:deb/debian/libpcap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.10.3-1
1.10.4-1
1.10.4-2
1.10.4-3
1.10.4-4
1.10.4-4.1~exp1
1.10.4-4.1
1.10.4-5
1.10.5-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / libpcap

Package

Name
libpcap
Purl
pkg:deb/debian/libpcap?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.5-1

Affected versions

1.*

1.10.3-1
1.10.4-1
1.10.4-2
1.10.4-3
1.10.4-4
1.10.4-4.1~exp1
1.10.4-4.1
1.10.4-5

Ecosystem specific

{
    "urgency": "unimportant"
}

Git / github.com/the-tcpdump-group/libpcap

Affected ranges

Type
GIT
Repo
https://github.com/the-tcpdump-group/libpcap
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

libpcap-0.*

libpcap-0.6.1
libpcap-0.7.1
libpcap-0.8-bp

libpcap-1.*

libpcap-1.10-bp
libpcap-1.10.0
libpcap-1.10.1
libpcap-1.10.2
libpcap-1.10.3
libpcap-1.10.4
libpcap-1.3-bp
libpcap-1.5.0
libpcap-1.6.0-bp
libpcap-1.7.0-bp
libpcap-1.8.0-bp
libpcap-1.8.1
libpcap-1.9-bp
libpcap-1.9.0-rc1