Description (CNA)
Ghidra before 12.1 contains a path traversal vulnerability in SameDirDebugInfoProvider that fails to validate filenames from ELF binary .gnu_debuglink sections before constructing file paths. Attackers can craft malicious ELF binaries with traversal sequences to probe filesystem existence and leak CRC32 hashes of arbitrary files during automatic DWARF analysis.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| nationalsecurityagency / ghidra | affected 0 before 12.1; unaffected 12.1 |
CWE
CWE-22
References
- https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-57g6-7qw2-p5hx
- https://www.vulncheck.com/advisories/ghidra-path-traversal-via-gnu-debuglink-in-dwarf-external-debug-file-resolution
ADP enrichment
No English description supplied.
No references supplied.