SB2024012926 - Denial of service in GNU gdb
Published: January 29, 2024
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) Use-after-free (CVE-ID: CVE-2023-39129)
CWE-ID: CWE-416 - Use After Free
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a use-after-free error within the add_pe_exported_sym() function in /gdb/coff-pe-read.c. A remote attacker can trick the victim to call the application on a psecially crafted file and perform a denial of service (DoS) attack.
2) Heap-based buffer overflow (CVE-ID: CVE-2023-39130)
CWE-ID: CWE-122 - Heap-based Buffer Overflow
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error within the pe_as16() function in /gdb/coff-pe-read.c. A remote attacker can trick the victim to run the debugger on a specially crafted file, trigger a heap-based buffer overflow and perform a denial of service (DoS) attack.
3) Stack-based buffer overflow (CVE-ID: CVE-2023-39128)
CWE-ID: CWE-121 - Stack-based buffer overflow
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
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.
Remediation
Install update from vendor's website.