Bug 2165034 (CVE-2023-24056)

Summary: CVE-2023-24056 pkgconf: unbounded string expansion due to incorrect checks may result in buffer overflow
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: rhughes
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pkgconf 1.9.4 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in pkgconf, where a variable duplication can cause unbounded string expansion due to incorrect checks in libpkgconf/tuple.c:pkgconf_tuple_parse. This issue may lead to a buffer overflow, which can crash the software.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2165035, 2165039, 2165040    
Bug Blocks: 2164615    

Description Marian Rehak 2023-01-27 13:17:34 UTC
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.

Comment 1 Marian Rehak 2023-01-27 13:17:54 UTC
Created pkgconf tracking bugs for this issue:

Affects: fedora-all [bug 2165035]