Heap-based buffer overflow in Indent - CVE-2024-0911

 

Heap-based buffer overflow in Indent - CVE-2024-0911

Published: January 26, 2024


Vulnerability identifier: #VU85842
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-0911
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

Indent
Amazon Linux AMI
Fedora
openEuler
Oracle Solaris
indent
indent-debugsource
indent-debuginfo
indent-help

How to mitigate CVE-2024-0911

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

indent - update to 2.2.11-30
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

External References

Related Security Bulletins