CVE-2019-12760

Source
https://cve.org/CVERecord?id=CVE-2019-12760
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12760.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-12760
Aliases
Downstream
Published
2019-06-06T19:29:00.500Z
Modified
2026-03-14T09:32:28.570687Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/davidhalter/parso

Affected ranges

Type
GIT
Repo
https://github.com/davidhalter/parso
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.4.0"
        }
    ]
}

Affected versions

v0.*
v0.0.1
v0.0.2
v0.0.3
v0.0.4
v0.1.0
v0.1.1
v0.2.0
v0.2.1
v0.3.0
v0.3.1
v0.3.2
v0.3.3
v0.3.4
v0.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12760.json"