Stack-based buffer overflow in The GNU Project Debugger (GDB) - CVE-2023-39128
Published: January 29, 2024
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error within the ada_decode() function in /gdb/ada-lang.c. A remote attacker can trick the victim to run the debugger on a specially crafted file, trigger a stack-based buffer overflow and perform a denial of service (DoS) attack.
Affected software
Robotic Process Automation for Cloud Pak
Ubuntu
openEuler
Anolis OS
gdb (Ubuntu package)
gdbserver (Ubuntu package)
Ubuntu security updates mailing list (Ubuntu package)
gdb
gdb-debuginfo
gdb-headless
gdb-debugsource
gdb-gdbserver
gdb-help
gdb-doc
How to mitigate CVE-2023-39128
gdbserver (Ubuntu package) - addressed in versions Ubuntu Pro, 9.2-0ubuntu1~20.04.2, 12.1-0ubuntu1~22.04.2
Ubuntu security updates mailing list (Ubuntu package) - update to Security announcements mailing list
gdb - update to 9.2-5
gdb-debuginfo - update to 9.2-5
gdb-headless - update to 9.2-5
gdb-debugsource - update to 9.2-5
gdb-gdbserver - update to 9.2-5
gdb-help - update to 9.2-5
gdb-doc - update to 12.1-3
gdb-headless - update to 12.1-3
gdb-gdbserver - update to 12.1-3
gdb - update to 12.1-3
Robotic Process Automation for Cloud Pak - addressed in versions 21.0.7.10, 23.0.11