Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. parso
  4. ›
  5. CVE-2019-12760

CVE-2019-12760: Deserialization vulnerability exists in parso

June 13, 2019 (updated October 9, 2024)

** 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

  • gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7
  • github.com/advisories/GHSA-22mf-97vh-x8rw
  • github.com/davidhalter/parso
  • github.com/davidhalter/parso/issues/75
  • github.com/pypa/advisory-database/tree/main/vulns/parso/PYSEC-2019-109.yaml
  • nvd.nist.gov/vuln/detail/CVE-2019-12760

Code Behaviors & Features

Detect and mitigate CVE-2019-12760 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.4.0

Solution

Unfortunately, there is no solution available yet.

Impact 3.3 LOW

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

pypi/parso/CVE-2019-12760.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:15 +0000.