Bug 2212463 (CVE-2023-22652) - CVE-2023-22652 libeconf: stack-based buffer overflow in read_file() in lib/getfilecontents.c
Summary: CVE-2023-22652 libeconf: stack-based buffer overflow in read_file() in lib/ge...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2023-22652
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2212464 2212467 2212468
Blocks: 2211757
TreeView+ depends on / blocked
 
Reported: 2023-06-05 16:29 UTC by Guilherme de Almeida Suckevicz
Modified: 2023-08-01 16:07 UTC (History)
1 user (show)

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.
Clone Of:
Environment:
Last Closed: 2023-08-01 16:07:44 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:4347 0 None None None 2023-08-01 08:49:26 UTC

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


Note You need to log in before you can comment on or make changes to this bug.