CVE-2019-12760

LOW

Parso < 0.4.0 - Insecure Deserialization

Title source: rule

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.

Scores

CVSS v3 3.3
EPSS 0.0067
EPSS Percentile 71.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N

Classification

CWE
CWE-502
Status published

Affected Products (2)

parso_project/parso < 0.4.0
pypi/parso PyPI

Timeline

Published Jun 06, 2019
Tracked Since Feb 18, 2026