Heap-based buffer overflow in Indent - CVE-2024-0911
Published: January 26, 2024
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the set_buf_break() function in output.c. A remote attacker can trick the victim to pass a specially crafted file to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Fedora
openEuler
Oracle Solaris
indent
indent-debugsource
indent-debuginfo
indent-help
How to mitigate CVE-2024-0911
indent-debugsource - update to 2.2.11-30
indent-debuginfo - update to 2.2.11-30
indent-help - update to 2.2.11-30
indent - update to 2.2.12-7
indent - addressed in versions 2.2.13-5.el8, 2.2.13-5.el9, 2.2.13-6.fc39
Oracle Solaris - update to 11.4 SRU 71