{"id":"GHSA-38hf-c37x-32hv","summary":"LIEF vulnerable to denial of service through segmentation fault","details":"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.","aliases":["CVE-2022-40922","PYSEC-2022-43138"],"modified":"2024-12-07T05:31:53.881996Z","published":"2022-10-04T00:00:25Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-10-06T20:00:30Z","nvd_published_at":"2022-10-03T13:15:00Z","cwe_ids":[],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40922"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/issues/781"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/commit/ad811916670e83947560b6f3c45df6e71d3885af"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/commit/fde2c48986739fabd2cf9b40b9af149a89c57850"},{"type":"PACKAGE","url":"https://github.com/lief-project/LIEF"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43138.yaml"}],"affected":[{"package":{"name":"lief","ecosystem":"PyPI","purl":"pkg:pypi/lief"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.2"}]}],"versions":["0.10.0","0.10.1","0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.12.0","0.12.1","0.8.0","0.8.1","0.8.2","0.8.3","0.9.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-38hf-c37x-32hv/GHSA-38hf-c37x-32hv.json","last_known_affected_version_range":"\u003c= 0.12.1"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}