Bug 2212463 (CVE-2023-22652)

Summary: CVE-2023-22652 libeconf: stack-based buffer overflow in read_file() in lib/getfilecontents.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ipedrosa
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libeconf 0.5.2 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the libeconf library. This issue occurs when parsing a specially crafted configuration file, causing a stack-based buffer overflow, resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-01 16:07:44 UTC 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: 2212464, 2212467, 2212468    
Bug Blocks: 2211757    

Description Guilherme de Almeida Suckevicz 2023-06-05 16:29:15 UTC
A Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in openSUSE libeconf leads to DoS via malformed config files.
This issue affects libeconf: before 0.5.2.

References:
https://github.com/openSUSE/libeconf/issues/177
https://bugzilla.suse.com/show_bug.cgi?id=CVE-2023-22652

Upstream patch:
https://github.com/openSUSE/libeconf/pull/183

Comment 1 Guilherme de Almeida Suckevicz 2023-06-05 16:29:31 UTC
Created libeconf tracking bugs for this issue:

Affects: fedora-all [bug 2212464]

Comment 4 errata-xmlrpc 2023-08-01 08:49:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:4347 https://access.redhat.com/errata/RHSA-2023:4347

Comment 5 Product Security DevOps Team 2023-08-01 16:07:42 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-22652