Bug 833704 (CVE-2012-3405)

Summary: CVE-2012-3405 glibc: incorrect use of extend_alloca() in formatted printing can lead to FORTIFY_SOURCE format string protection bypass
Product: [Other] Security Response Reporter: Stefan Cornelius <scorneli>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fweimer, law, mfranc, mjc, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20120711,reported=20120511,source=redhat,cvss2=6.8/AV:N/AC:M/Au:N/C:P/I:P/A:P,rhel-6/glibc=affected,rhel-5/glibc=notaffected,fedora-all/glibc=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-18 12:38:54 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 841318    
Bug Blocks: 822803    

Description Stefan Cornelius 2012-06-20 03:29:48 EDT
It was discovered that the formatted printing functionality in glibc used extend_alloca() incorrectly. A remote attacker could provide a specially crafted sequence of format specifiers, leading to a desynchronization within the buffer size handling, resulting in the use of uninitialized memory or, potentially, FORTIFY_SOURCE format string protection mechanism bypass, when processed.

Comment 1 Stefan Cornelius 2012-07-11 06:35:07 EDT
Pulic now/CVEs requested via:
Comment 2 Stefan Cornelius 2012-07-11 13:25:57 EDT
A CVE identifier of CVE-2012-3405 has been assigned to this issue.
Comment 3 errata-xmlrpc 2012-07-18 11:24:05 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:1098 https://rhn.redhat.com/errata/RHSA-2012-1098.html
Comment 4 Vincent Danen 2012-07-18 12:38:54 EDT

This issue did not affect the version of glibc as shipped with Red Hat Enterprise Linux 5.
Comment 5 Vincent Danen 2012-07-18 12:39:58 EDT
Created glibc tracking bugs for this issue

Affects: fedora-all [bug 841318]
Comment 6 errata-xmlrpc 2012-08-23 10:25:39 EDT
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2012:1200 https://rhn.redhat.com/errata/RHSA-2012-1200.html