Lucene search

K
ubuntucveUbuntu.comUB:CVE-2022-27943
HistoryMar 26, 2022 - 12:00 a.m.

CVE-2022-27943

2022-03-2600:00:00
ubuntu.com
ubuntu.com
26
cve-2022-27943
gnu gcc
stack consumption
libiberty
rust-demangle
nm-new
bugzilla
sourceware
launchpad
affected code
binutils
recursion limit

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

31.6%

libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in
demangle_const, as demonstrated by nm-new.

Bugs

Notes

Author Note
sbeattie gcc-3.3 only provides libstdc++5
litios affected code introduced in gcc-11.1.0 on 2020-11-13 with 84096498a7b (“libiberty: Support the new (“v0”) mangling scheme in rust-demangle”)
litios affected code introduced in binutils in d750c713
eslerm fixed in gcc-13.1.0 on 2022-07-01 with 9234cdca6ee ("Add a recursion limit to the demangle_const function in the fixed in binutils-2_39 on 2020-01-31 with f10f8617a30 (“Import patch from mainline GCC to fix an infinite recusion in the Rust demangler.”)

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

31.6%