libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
Attack Parameters
Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required
Impact Assessment
Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Gnu Gcc
cpe:2.3:a:gnu:gcc:11.2:*:*:*:*:*:*:*
|
— | — |
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
|
— | — |
References 4
https://sourceware.org/bugzilla/show_bug.cgi?id=28995
NVD
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105039
NVD
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
FEDORA-2022-c9a1fd5370
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e