Bug 2267700 (CVE-2024-2002) - CVE-2024-2002 libdwarf: crashes randomly on fuzzed object
Summary: CVE-2024-2002 libdwarf: crashes randomly on fuzzed object
Keywords:
Status: NEW
Alias: CVE-2024-2002
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2267720
Blocks: 2267723
TreeView+ depends on / blocked
 
Reported: 2024-03-04 14:37 UTC by ybuenos
Modified: 2024-04-19 08:06 UTC (History)
0 users

Fixed In Version: libdwarf-0.9.2
Doc Type: If docs needed, set a value
Doc Text:
A double-free vulnerability was found in libdwarf. In a multiply-corrupted DWARF object, libdwarf may try to dealloc(free) an allocation twice, potentially causing unpredictable and various results.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description ybuenos 2024-03-04 14:37:30 UTC
In a multiply-corrupted DWARF object libdwarf may try to dealloc(free) an allocation twice.
Results are unpredictable and various. This has been a possibility since we added code to prevent leaks when generating 'unattached' Dwarf_Error records (where there is no Dwarf_Debug available at the point of error).
The problem was introduced in libdwarf-0.1.0 in 2021.

Comment 1 ybuenos 2024-03-04 14:38:40 UTC
Flaw ID on github repo: DW202402-002

Comment 2 ybuenos 2024-03-04 16:23:51 UTC
Created libdwarf tracking bugs for this issue:

Affects: fedora-all [bug 2267720]


Note You need to log in before you can comment on or make changes to this bug.