Advisory

PYSEC-2019-109

Also known as: CVE-2019-12760, GHSA-22mf-97vh-x8rw

Summary

The record has no summary.

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."

Severity

Not rated by the source.

Dates

Published
2019-06-06 19:29 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

parso

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.0 (ecosystem)

Fixed versions

0.5.0

Fix

  • Fixed version 0.5.0
    pip install --upgrade parso==0.5.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences