Deserialization of Untrusted Data The advisory has been revoked - it doesn't affect any version of package parso  (opens in a new tab)


Threat Intelligence

EPSS
1.53% (74th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-PARSO-643499
  • published10 Sept 2020
  • disclosed6 Jun 2019

Introduced: 6 Jun 2019

CVE-2019-12760  (opens in a new tab)
CWE-502  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:20.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream parso package and not the parso package as distributed by Ubuntu.

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.