Skip to content
OpenAdvisories
Low · 3.3 CVE-2019-12760 EUVD-2019-0101GHSA-22mf-97vh-x8rwPYSEC-2019-109

A deserialization vulnerability exists in the way parso through 0.4.0 handles grammar parsing from the cache. Cache loading relies on pickl…

Published Jun 6, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 parso 0.5.1-0.1 —
Debian 13 parso 0.5.1-0.1 —
Debian 12 parso 0.5.1-0.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI parso < 0.5.0 0.5.0 PYSEC-2019-109

References