{"id":"GHSA-42vg-2q93-fj6j","summary":"LIEF vulnerable to heap based buffer overflow via print_binary function","details":"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.","aliases":["CVE-2022-38495","PYSEC-2022-276"],"modified":"2023-11-08T04:10:12.048834Z","published":"2022-09-14T00:00:42Z","database_specific":{"github_reviewed_at":"2022-09-20T22:06:04Z","nvd_published_at":"2022-09-13T21:15:00Z","cwe_ids":["CWE-787"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38495"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/issues/767"},{"type":"WEB","url":"https://github.com/lief-project/LIEF/commit/0033b6312fd311b2e45e379c04a83d77c1e58578"},{"type":"PACKAGE","url":"https://github.com/lief-project/LIEF"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/lief/PYSEC-2022-276.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/09/GHSA-42vg-2q93-fj6j/GHSA-42vg-2q93-fj6j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}