Bug 858238 (CVE-2012-4424) - CVE-2012-4424 glibc: alloca() stack overflow in the strcoll() interface
Summary: CVE-2012-4424 glibc: alloca() stack overflow in the strcoll() interface
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2012-4424
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 855399 989862
Blocks: 855429
TreeView+ depends on / blocked
 
Reported: 2012-09-18 12:12 UTC by Jan Lieskovsky
Modified: 2021-06-11 21:04 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-11 21:04:46 UTC
Embargoed:


Attachments (Terms of Use)

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


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