{"id":"GHSA-rm2x-hgr8-w343","summary":"LIEF vulnerable to denial of service through segmentation fault","details":"A vulnerability in the LIEF::MachO::SegmentCommand::virtual_address 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/24935f654f6df700a9a062298258b9485f584502) is available at commit number 24935f654f6df700a9a062298258b9485f584502.","aliases":["CVE-2022-40923","PYSEC-2022-43139"],"modified":"2024-12-03T05:59:47.320574Z","published":"2022-10-01T00:00:18Z","database_specific":{"nvd_published_at":"2022-09-30T19:15:00Z","cwe_ids":[],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-10-06T19:56:22Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40923"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/issues/784"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/commit/24935f654f6df700a9a062298258b9485f584502"},{"type":"PACKAGE","url":"https://github.com/lief-project/LIEF"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-43139.yaml"}],"affected":[{"package":{"name":"lief","ecosystem":"PyPI","purl":"pkg:pypi/lief"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.12.1"}]}],"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-rm2x-hgr8-w343/GHSA-rm2x-hgr8-w343.json"}}],"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"}]}