Bug 1213669 (CVE-2023-39129)

Summary: VUL-1: CVE-2023-39129: gdb: heap use after free in add_pe_exported_sym() via crafted binary file
Product: [Novell Products] SUSE Security Incidents Reporter: Carlos López <carlos.lopez>
Component: IncidentsAssignee: Tom de Vries <tdevries>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Minor    
Priority: P4 - Low CC: matz, security-team
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/373407/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-39129:3.3:(AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Carlos López 2023-07-26 08:39:10 UTC
CVE-2023-39129

GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap use after free via the function add_pe_exported_sym() at /gdb/coff-pe-read.c.

https://sourceware.org/bugzilla/show_bug.cgi?id=30640

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-39129
https://bugzilla.redhat.com/show_bug.cgi?id=2226594
https://www.cve.org/CVERecord?id=CVE-2023-39129
https://sourceware.org/bugzilla/show_bug.cgi?id=30640
Comment 1 Michael Matz 2023-07-26 12:56:07 UTC
So the script kiddies found gdb to fuzz.  Marvellous.  Not my turf, assigning to
Tom.  I would suggest to handle this similarly to binutils: do one or two version updates a year for gdb, and not backport such kind of fuzzing fixes.  Decision
of somebody else, though.