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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.59% (79th 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-PYTHON-TYPEDAST-535628
  • published26 Nov 2019
  • disclosed26 Nov 2019
  • creditBrad Larsen

Introduced: 26 Nov 2019

CVE-2019-19275  (opens in a new tab)
CWE-125  (opens in a new tab)

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 ast_for_arguments out-of-bounds read. 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. This could be a concern, for example, in a web-based service that parses (but does not execute) Python.

CVSS Scores

version 3.1