Описание
libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
A flaw was found in binutils, where GNU GCC is vulnerable to a denial of service caused by a stack consumption in the demangle_const() function in libiberty/rust-demangle.c. The vulnerability exists due to the application not properly controlling the consumption of internal resources. By persuading a victim to open a specially-crafted file, an attacker could cause a denial of service.
Отчет
The issue is classified as low severity primarily because binutils is not typically exposed to untrusted inputs in most environments, limiting its exploitation potential. The stack overflow in demangle_const() only triggers during the parsing of malformed ELF files, which would require an attacker to convince a user to process a malicious file with it. Moreover, binutils does not handle privileged operations, meaning exploitation is unlikely to lead to system compromise or escalation of privileges. Additionally, the impact is localized to the application itself, without affecting the broader system or network security. This vulnerability is due to a flaw in libiberty. Neither libgcc nor libstdc++ include the affected code. Consequently, neither of those libraries are affected by this vulnerability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | compat-gcc-295 | Out of support scope | ||
| Red Hat Enterprise Linux 6 | compat-gcc-296 | Out of support scope | ||
| Red Hat Enterprise Linux 6 | compat-gcc-32 | Out of support scope | ||
| Red Hat Enterprise Linux 6 | compat-gcc-34 | Out of support scope | ||
| Red Hat Enterprise Linux 6 | gcc | Out of support scope | ||
| Red Hat Enterprise Linux 7 | compat-gcc-32 | Out of support scope | ||
| Red Hat Enterprise Linux 7 | compat-gcc-34 | Out of support scope | ||
| Red Hat Enterprise Linux 7 | compat-gcc-44 | Out of support scope | ||
| Red Hat Enterprise Linux 7 | gcc | Out of support scope | ||
| Red Hat Enterprise Linux 8 | gcc | Fix deferred |
Показывать по
Дополнительная информация
Статус:
5.5 Medium
CVSS3
Связанные уязвимости
libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in ...
libiberty/rust-demangle.c in GNU GCC 11.2 allows stack consumption in demangle_const, as demonstrated by nm-new.
Уязвимость функции demangle_const компонента libiberty/rust-demangle.c компилятора GCC, позволяющая нарушителю вызвать отказ в обслуживании
5.5 Medium
CVSS3