pysec-2019-109
Vulnerability from pysec
Published
2019-06-06 19:29
Modified
2019-07-05 11:15
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."

Impacted products
Name purl
parso pkg:pypi/parso



{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "parso",
        "purl": "pkg:pypi/parso"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.5.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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"
      ]
    }
  ],
  "aliases": [
    "CVE-2019-12760",
    "GHSA-22mf-97vh-x8rw"
  ],
  "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.\"",
  "id": "PYSEC-2019-109",
  "modified": "2019-07-05T11:15:00Z",
  "published": "2019-06-06T19:29:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://gist.github.com/dhondta/f71ae7e5c4234f8edfd2f12503a5dcc7"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/davidhalter/parso/issues/75"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-22mf-97vh-x8rw"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…