Bug 1594410 (CVE-2018-12641)

Summary: CVE-2018-12641 binutils: Stack Exhaustion in the demangling functions provided by libiberty
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dvlasenk, erik-fedora, fweimer, jakub, klember, ktietz, law, nickc, ohudlick, rjones, yselkowi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 19:19:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1594412, 1594413, 1594414, 1594415, 1598557, 1598560, 1598561    
Bug Blocks: 1594411    

Description Laura Pardo 2018-06-22 21:25:22 UTC
An issue was discovered in arm_pt in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.30. Stack Exhaustion occurs in the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_arm_hp_template, demangle_class_name, demangle_fund_type, do_type, do_arg, demangle_args, and demangle_nested_args. This can occur during execution of nm-new.


References:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1763099 	
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85452 	
https://sourceware.org/bugzilla/show_bug.cgi?id=23058

Comment 1 Laura Pardo 2018-06-22 21:32:00 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1594413]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1594412]
Affects: fedora-all [bug 1594414]

Comment 6 errata-xmlrpc 2019-08-06 12:10:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:2075 https://access.redhat.com/errata/RHSA-2019:2075

Comment 7 Product Security DevOps Team 2019-08-06 19:19:12 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-2018-12641