CVE-2019-12760
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.
How to fix
- parso0.5.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| parso_project parso | v ≤ 0.4.0 | — |
| parsoPyPI | v ≤ 0.4.0, v < 0.5.0 | 0.5.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.