CVE-2019-12760

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

Configuration 1 (hide)

cpe:2.3:a:parso_project:parso:*:*:*:*:*:*:*:*

History

21 Nov 2024, 04:23

Type Values Removed Values Added
References () https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7 - Exploit, Third Party Advisory () https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7 - Exploit, Third Party Advisory
References () https://github.com/davidhalter/parso/issues/75 - () https://github.com/davidhalter/parso/issues/75 -

03 Jul 2024, 01:35

Type Values Removed Values Added
CVSS v2 : 6.0
v3 : 7.5
v2 : 6.0
v3 : 3.3

07 Nov 2023, 03:03

Type Values Removed Values Added
Summary ** 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." 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.

Information

Published : 2019-06-06 19:29

Updated : 2024-11-21 04:23


NVD link : CVE-2019-12760

Mitre link : CVE-2019-12760

CVE.ORG link : CVE-2019-12760


JSON object : View

Products Affected

parso_project

  • parso
CWE
CWE-502

Deserialization of Untrusted Data