GitHub Advisoryadvisory · PyPI
GHSA-42vg-2q93-fj6j LIEF vulnerable to heap based buffer overflow via print_binary function
HIGH
Official page ↗
- Aliases
- CVE-2022-38495
- Ecosystem
- PyPI
- Packages
- lief
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-787
- Reviewed
- 2022-09-20
Affected packages
• PyPI lief: <= 0.12.1 (no fix yet)
Description
LIEF commit 365a16a was discovered to contain a heap-buffer overflow via the function `print_binary` at `/c/macho_reader.c`. Commit 0033b6312fd311b2e45e379c04a83d77c1e58578 contains a patch.
Related
Alias · CVE (1)
- CVE-2022-38495 LIEF commit 365a16a was discovered to contain a heap-buffer overflow via the function print_binary at /c/macho_reader.c. vulnerability
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-38495 advisory
- https://github.com/lief-project/LIEF/issues/767 web
- https://github.com/lief-project/LIEF/commit/0033b6312fd311b2e45e379c04a83d77c1e58578 web
- https://github.com/lief-project/LIEF package
- https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-276.yaml web