Skip to content
OpenAdvisories
Medium · 5.5 CVE-2023-24056 EUVD-2023-28120GHSA-6rfm-3v66-6wr2

In pkgconf through 1.9.3, variable duplication can cause unbounded string expansion due to incorrect checks in libpkgconf/tuple.c:pkgconf_t…

Published Jan 22, 2023 · Updated Apr 2, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pkgconf 1.8.1-1 —
Debian 13 pkgconf 1.8.1-1 —
Debian 12 pkgconf 1.8.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS pkgconf No fix yet —
Ubuntu 20.04 LTS pkgconf No fix yet —
Ubuntu 18.04 LTS pkgconf No fix yet —
Ubuntu 16.04 LTS pkgconf No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP3 pkgconf 1.5.3-bp153.2.3.1 openSUSE-SU-2023:0043-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 pkgconf 1.8.0-150400.3.3.1 SUSE-SU-2023:0611-1
openSUSE Leap 15.3 pkgconf 1.5.3-bp153.2.3.1 openSUSE-SU-2023:0043-1
ReleasePackageFixed inAdvisory
Alpine v3.24 pkgconf 1.9.4-r0 —
Alpine v3.23 pkgconf 1.9.4-r0 —
Alpine v3.22 pkgconf 1.9.4-r0 —
Alpine v3.21 pkgconf 1.9.4-r0 —
Alpine v3.20 pkgconf 1.9.4-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 pkgconf 1.9.4-r0 —
Alpine v3.18 pkgconf 1.9.4-r0 —
Alpine v3.17 pkgconf 1.9.4-r0 —
Alpine v3.16 pkgconf 1.8.1-r0 —
Alpine v3.15 pkgconf 1.8.1-r0 —
Alpine v3.14 pkgconf 1.7.4-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 pkgconf +4 1.8.0-4.amzn2023.0.2 ALAS2023-2023-159

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) pkgconf 1.8.0-3 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling pkgconf 1.9.4-r0 —

Advisories 3

References