Out-of-Bounds Affecting libpkgconf package, versions <0:1.8.0-4.amzn2023.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.58% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-LIBPKGCONF-5431082
  • published20 Apr 2023
  • disclosed22 Jan 2023

Introduced: 22 Jan 2023

CVE-2023-24056  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libpkgconf to version 0:1.8.0-4.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-159.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpkgconf package and not the libpkgconf package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1