Vulnerability · Published Jan 22, 2023 · Assigned by mitre
CVE-2023-24056
Medium 5.5
In plain English
A medium-severity out-of-bounds write in the pkgconf package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.6%top 52.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
In pkgconf through 1.9.3, variable duplication can cause unbounded string expansion due to incorrect checks in libpkgconf/tuple.c:pkgconf_tuple_parse. For example, a .pc file containing a few hundred bytes can expand to one billion bytes.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | pkgconf | 1.9.4-r0 | ALPINE-CVE-2023-24056 |
| Alpine:v3.21 | pkgconf | 1.9.4-r0 | ALPINE-CVE-2023-24056 |
| Alpine:v3.22 | pkgconf | 1.9.4-r0 | ALPINE-CVE-2023-24056 |
| Alpine:v3.23 | pkgconf | 1.9.4-r0 | ALPINE-CVE-2023-24056 |
| Alpine:v3.24 | pkgconf | 1.9.4-r0 | ALPINE-CVE-2023-24056 |
| Debian:12 | pkgconf | 1.8.1-1 | DEBIAN-CVE-2023-24056 |
| Debian:13 | pkgconf | 1.8.1-1 | DEBIAN-CVE-2023-24056 |
| Debian:14 | pkgconf | 1.8.1-1 | DEBIAN-CVE-2023-24056 |
| Ubuntu:22.04:LTS | pkgconf | no fix listed | UBUNTU-CVE-2023-24056 |
Affected products (as reported)
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H