Bug 1564291 (CVE-2018-9138)

Summary: CVE-2018-9138 binutils: Stack Exhaustion in the the C++ demangling functions provided by libiberty
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aoliva, dvlasenk, erik-fedora, jakub, klember, ktietz, law, nickc, ohudlick, rjones, slawomir, 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: 2018-05-16 23:13:29 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: 1564292, 1564293, 1564294, 1564295    
Bug Blocks: 1564296    

Description Laura Pardo 2018-04-05 22:26:07 UTC
A flaw was discovered in cplus-dem.c in GNU libiberty, as distributed in GNU Binutils 2.29 and 2.30. Stack Exhaustion occurs in the the C++ demangling functions provided by libiberty, and there are recursive stack frames: demangle_nested_args, demangle_args, do_arg, and do_type.


References:
https://sourceware.org/bugzilla/show_bug.cgi?id=23008

Comment 1 Laura Pardo 2018-04-05 22:26:44 UTC
Created mingw-binutils tracking bugs for this issue:

Affects: fedora-all [bug 1564295]


Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1564292]


Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1564293]

Comment 3 Pedro Yóssis Silva Barbosa 2018-05-16 23:13:29 UTC
I am not able to reproduce this issue, as well as the upstream.