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
Link | Resource |
---|---|
https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7 | Exploit Third Party Advisory |
https://github.com/davidhalter/parso/issues/75 | |
https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7 | Exploit Third Party Advisory |
https://github.com/davidhalter/parso/issues/75 |
Configurations
History
21 Nov 2024, 04:23
Type | Values Removed | Values Added |
---|---|---|
References | () https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7 - Exploit, Third Party Advisory | |
References | () https://github.com/davidhalter/parso/issues/75 - |
03 Jul 2024, 01:35
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 6.0
v3 : 3.3 |
07 Nov 2023, 03:03
Type | Values Removed | Values Added |
---|---|---|
Summary | 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