Out-of-bounds Read Affecting typed-ast package, versions [1.30,1.32)


0.0
high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.32% (71st percentile)
Expand this section
NVD
7.5 high

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 ID SNYK-PYTHON-TYPEDAST-535627
  • published 26 Nov 2019
  • disclosed 26 Nov 2019
  • credit Brad Larsen

How to fix?

Upgrade typed-ast to version 1.32 or higher.

Overview

typed-ast is a Python 3 package that provides a Python 2.7 and Python 3 parser similar to the standard ast library.

Affected versions of this package are vulnerable to Out-of-bounds Read via handle_keywordonly_args. An attacker with the ability to cause a Python interpreter to parse Python source (but not necessarily execute it) may be able to crash the interpreter process.