Bug 855385 (CVE-2012-4412) - CVE-2012-4412 glibc: strcoll() integer overflow leading to buffer overflow
Summary: CVE-2012-4412 glibc: strcoll() integer overflow leading to buffer overflow
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2012-4412
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 989861
Blocks: 855429
TreeView+ depends on / blocked
 
Reported: 2012-09-07 14:59 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:55 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:59:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Lieskovsky 2012-09-07 14:59:00 UTC
An integer overflow, leading to buffer overflow flaw was found in the way the implementation of strcoll() routine, used to compare two strings based on the current locale, of glibc, the GNU libc libraries, performed calculation of memory requirements / allocation, needed for storage of the strings. 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 reproducer):
[1] http://sourceware.org/bugzilla/show_bug.cgi?id=14547

Comment 1 Jan Lieskovsky 2012-09-07 15:31:44 UTC
CVE request:
[2] http://www.openwall.com/lists/oss-security/2012/09/07/9

Comment 2 Jan Lieskovsky 2012-09-07 15:32:49 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 there is final upstream patch available).

Comment 3 Jan Lieskovsky 2012-09-07 15:34:15 UTC
Created glibc tracking bugs for this issue

Affects: fedora-all [bug 855399]

Comment 4 Jan Lieskovsky 2012-09-07 17:29:07 UTC
The CVE identifier of CVE-2012-4412 has been assigned to this issue:
http://www.openwall.com/lists/oss-security/2012/09/07/12

Comment 18 Fedora Update System 2013-08-22 00:49:36 UTC
glibc-2.17-13.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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