GHSA-22mf-97vh-x8rw

Suggest an improvement
Source
https://github.com/advisories/GHSA-22mf-97vh-x8rw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-22mf-97vh-x8rw/GHSA-22mf-97vh-x8rw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-22mf-97vh-x8rw
Aliases
Withdrawn
2019-07-03T16:48:55Z
Published
2019-06-13T16:12:57Z
Modified
2024-10-09T21:09:52.332156Z
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
  • 7.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U CVSS Calculator
Summary
Deserialization vulnerability exists in parso
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."

Database specific
{
    "cwe_ids": [
        "CWE-502"
    ],
    "github_reviewed_at": "2019-06-13T15:48:35Z",
    "nvd_published_at": "2019-06-06T19:29:00Z",
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

PyPI / parso

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.4.0

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.0.4
0.1.0
0.1.1
0.2.0
0.2.1
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.4.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/06/GHSA-22mf-97vh-x8rw/GHSA-22mf-97vh-x8rw.json"