Skip to main content
← All vulnerabilities
CVE-2019-12760GHSA-22MF-97VH-X8RWPYSEC-2019-109

A deserialization vulnerability exists in the way parso through 0.4.0 handles grammar parsing from the cache.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.5.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • parsoPyPI

    fixed in 0.5.0

References 2

gist.github.com

GitHub · davidhalter/parso