{"id":"GHSA-22mf-97vh-x8rw","summary":"Deserialization vulnerability exists in parso","details":"** DISPUTED ** A deserialization vulnerability exists in the way parso through 0.4.0 handles grammar parsing from the cache. Cache loading relies on pickle and, provided that an evil pickle can be written to a cache grammar file and that its parsing can be triggered, this flaw leads to Arbitrary Code Execution.  NOTE: This is disputed because \"the cache directory is not under control of the attacker in any common configuration.\"","aliases":["CVE-2019-12760","PYSEC-2019-109"],"modified":"2024-10-09T21:09:52.332156Z","published":"2019-06-13T16:12:57Z","withdrawn":"2019-07-03T16:48:55Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2019-06-13T15:48:35Z","nvd_published_at":"2019-06-06T19:29:00Z","cwe_ids":["CWE-502"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-12760"},{"type":"WEB","url":"https://github.com/davidhalter/parso/issues/75"},{"type":"WEB","url":"https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-22mf-97vh-x8rw"},{"type":"PACKAGE","url":"https://github.com/davidhalter/parso"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/parso/PYSEC-2019-109.yaml"}],"affected":[{"package":{"name":"parso","ecosystem":"PyPI","purl":"pkg:pypi/parso"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.4.0"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.1.0","0.1.1","0.2.0","0.2.1","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.4.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-22mf-97vh-x8rw/GHSA-22mf-97vh-x8rw.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U"}]}