Vulnerability 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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Parso Project | Parso | <= 0.4.0 |
Related Weaknesses (CWE)
References
- https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7ExploitThird Party Advisory
- https://github.com/davidhalter/parso/issues/75
- https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7ExploitThird Party Advisory
- https://github.com/davidhalter/parso/issues/75
FAQ
What is CVE-2019-12760?
CVE-2019-12760 is a vulnerability with a CVSS score of 3.3 (LOW). 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...
How severe is CVE-2019-12760?
CVE-2019-12760 has been rated LOW with a CVSS base score of 3.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-12760?
Check the references section above for vendor advisories and patch information. Affected products include: Parso Project Parso.