CVE-2023-7256

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2023-7256
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-7256.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-7256
Related
Published
2024-08-31T00:15:05Z
Modified
2024-09-19T18:45:40.362930Z
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

In affected libpcap versions during the setup of a remote packet capture the internal function sock_initaddress() calls getaddrinfo() and possibly freeaddrinfo(), but does not clearly indicate to the caller function whether freeaddrinfo() still remains to be called after the function returns. This makes it possible in some scenarios that both the function and its caller call freeaddrinfo() for the same allocated memory block. A similar problem was reported in Apple libpcap, to which Apple assigned CVE-2023-40400.

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