PYSEC-2019-109
Dashboard / Vulnerabilities / PYSEC-2019-109
PYSEC-2019-109
Published: 6 Jun 2019Last Modified: 8 Nov 2023
Aliases:
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."
References: https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7, https://github.com/davidhalter/parso/issues/75, https://github.com/advisories/GHSA-22mf-97vh-x8rw
Affected packages
Package
Name: parso
Purl: pkg:pypi/parso
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -0.5.0
Affected versions
0.0.1
0.0.2
0.0.3
0.0.4
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
