CVEvulnerability
CVE-2019-12760
3.3 LOW
Official page ↗
- Status
- Modified
- Published
- 2019-06-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 3.3 LOW — CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.0 MEDIUM — AV:N/AC:M/Au:S/C:P/I:P/A:P
- Weaknesses
- CWE-502
Description
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.
Affected configurations
• parso project parso (<= 0.4.0)
Related
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7 Exploit, Third Party Advisory
- https://github.com/davidhalter/parso/issues/75 github.com
- https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7 Exploit, Third Party Advisory
- https://github.com/davidhalter/parso/issues/75 github.com