CVE-2022-40922
MEDIUM6.5EPSS 0.24%LIEF vulnerable to denial of service through segmentation fault
Published: 10/4/2022Modified: 12/7/2024
Description
A vulnerability in the LIEF::MachO::BinaryParser::init_and_parse function of LIEF v0.12.1 allows attackers to cause a denial of service (DOS) through a segmentation fault via a crafted MachO file. A [patch](https://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850) for this issue is available at commit fde2c48986739fabd2cf9b40b9af149a89c57850.
Affected packages (2)
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-40922
- PATCHhttps://github.com/lief-project/LIEF
- WEBhttps://github.com/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af
- WEBhttps://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850
- WEBhttps://github.com/lief-project/LIEF/issues/781
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43138.yaml