CVE-2022-38306: LIEF vulnerable to heap based buffer overflow
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.14267%
CWE
Published
9/14/2022
Updated
1/29/2023
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| lief | pip | >= 0, <= 0.12.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerable function is identified by analyzing the patch provided in the commit diff. The change indicates a fix for a heap-buffer overflow vulnerability in the CorePrPsInfo::parse_() function, which is a template function instantiated for both ELF32 and ELF64. The original code's vulnerability and the patch's mitigation are directly related to how the pr_fname field is handled.