Bug 833703 (CVE-2012-3404)

Summary: CVE-2012-3404 glibc: incorrect size calculation 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=notaffected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-18 12:37:52 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 820868, 833716, 833717    
Bug Blocks: 822803    

Description Stefan Cornelius 2012-06-20 03:26:28 EDT
It was discovered that the formatted printing functionality in glibc did not properly honor the size of a structure when calculating the amount of memory to allocate. A remote attacker could provide a specially crafted sequence of format specifiers, leading to an undersized buffer allocation and subsequent stack corruption, resulting in a crash or, potentially, FORTIFY_SOURCE format string protection mechanism bypass, when processed.

Comment 3 Stefan Cornelius 2012-07-11 06:35:02 EDT
Pulic now/CVEs requested via:
Comment 4 Stefan Cornelius 2012-07-11 13:25:54 EDT
A CVE identifier of CVE-2012-3404 has been assigned to this issue.
Comment 5 errata-xmlrpc 2012-07-18 11:23:55 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 6 Vincent Danen 2012-07-18 12:37:52 EDT

This issue did not affect the version of glibc as shipped with Red Hat Enterprise Linux 5.
Comment 7 errata-xmlrpc 2012-08-23 10:25:36 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