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

EcosystemPackageFixed inAdvisory
Alpine:v3.20pkgconf1.9.4-r0ALPINE-CVE-2023-24056
Alpine:v3.21pkgconf1.9.4-r0ALPINE-CVE-2023-24056
Alpine:v3.22pkgconf1.9.4-r0ALPINE-CVE-2023-24056
Alpine:v3.23pkgconf1.9.4-r0ALPINE-CVE-2023-24056
Alpine:v3.24pkgconf1.9.4-r0ALPINE-CVE-2023-24056
Debian:12pkgconf1.8.1-1DEBIAN-CVE-2023-24056
Debian:13pkgconf1.8.1-1DEBIAN-CVE-2023-24056
Debian:14pkgconf1.8.1-1DEBIAN-CVE-2023-24056
Ubuntu:22.04:LTSpkgconfno fix listedUBUNTU-CVE-2023-24056

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References