Bug 858238 (CVE-2012-4424)

Summary: CVE-2012-4424 glibc: alloca() stack overflow in the strcoll() interface
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: codonell, fweimer, huzaifas, jakub, mnewsome, ohudlick, pfrankli
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-11 21:04:46 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: 855399, 989862    
Bug Blocks: 855429    

Description Jan Lieskovsky 2012-09-18 12:12:14 UTC
A security flaw was found in the way strcoll() interface of glibc, the GNU libc libraries, performed failsafe back to alloca() routine when malloc() function call failed previously (due to out of memory [OOM] condition for example). If an application linked against glibc was missing an application-level sanity checks for validity of strcoll() arguments and accepted untrusted input, an attacker could use this flaw to cause the particular application to crash or, potentially, execute arbitrary code with the privileges of the user running the application.

Upstream bug report (including the reproducer):
[1] http://sourceware.org/bugzilla/show_bug.cgi?id=14552#c0

Issue / part: 1) alloca() stack overflow from [1].

References:
[2] http://www.openwall.com/lists/oss-security/2012/09/07/9
[3] http://www.openwall.com/lists/oss-security/2012/09/07/15
[4] http://www.openwall.com/lists/oss-security/2012/09/10/1
[5] http://www.openwall.com/lists/oss-security/2012/09/10/3
[6] http://www.openwall.com/lists/oss-security/2012/09/13/16

Comment 4 Jan Lieskovsky 2012-09-18 12:59:37 UTC
This issue affects the versions of the glibc package, as shipped with Red Hat Enterprise Linux 5 and 6.

--

This issue affects the versions of the glibc package, as shipped with Fedora release of 16 and 17. Please schedule an update (once final upstream patch is available).

Comment 5 Jan Lieskovsky 2012-09-18 13:02:03 UTC
Created glibc tracking bugs for this issue

Affects: fedora-all [bug 855399]

Comment 15 Product Security DevOps Team 2021-06-11 21:04:46 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-2012-4424