lief-project/lief · Security
LIEF heap-buffer-overflow
- GHSA ID
- GHSA-22x7-vwh9-5w4g
- CVE ID
- CVE-2021-32297
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS v4
- 8.6 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
An issue was discovered in LIEF prior to version 0.11.0. A heap-buffer-overflow exists in the function main located in pe_reader.c. It allows an attacker to cause code Execution.
CWEs
- CWE-787 · Out-of-bounds Write
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-32297 ↗
- https://github.com/lief-project/LIEF/issues/449 ↗
- https://github.com/lief-project/LIEF/commit/19e06755e8ce1ecf136360a5c36cded3701ac253 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2021-324.yaml ↗
- https://github.com/advisories/GHSA-22x7-vwh9-5w4g ↗