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: NEW
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: 2019-09-29 12:55 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


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]


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