Bug 1956423 (CVE-2021-3530)

Summary: CVE-2021-3530 binutils: stack memory exhaustion in demangle_path() in rust-demangle.c
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: adscvr, ailan, aoliva, dvlasenk, elima, erik-fedora, fidencio, fweimer, gkamathe, jakub, kaycoth, klember, ktietz, manisandro, marcandre.lureau, mcermak, mnewsome, mpolacek, mprchlik, nickc, ohudlick, rjones, sipoyare, virt-maint, vmugicag
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle.c, as distributed in GNU Binutils version 2.36. A crafted symbol can cause stack memory to be exhausted leading to a crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-04 10:46:55 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: 1956424, 1956425    
Bug Blocks: 1954144, 1956426, 1977814, 1982323    

Description Guilherme de Almeida Suckevicz 2021-05-03 16:33:05 UTC
A flaw was discovered in GNU libiberty within demangle_path() in rust-demangle.c, as distributed in GNU Binutils version 2.36. A crafted symbol can cause stack memory to be exhausted leading to a crash.


Reference:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1925348

Comment 1 Guilherme de Almeida Suckevicz 2021-05-03 16:33:34 UTC
Created binutils tracking bugs for this issue:

Affects: fedora-all [bug 1956424]


Created mingw-binutils tracking bugs for this issue:

Affects: fedora-all [bug 1956425]

Comment 3 Product Security DevOps Team 2021-05-04 10:46:55 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-2021-3530

Comment 5 Guilherme de Almeida Suckevicz 2021-05-12 14:08:25 UTC
Acknowledgments:

Name: chengxianglin

Comment 6 Todd Cullum 2021-07-21 18:34:50 UTC
*** Bug 1982320 has been marked as a duplicate of this bug. ***