VDB
Sign up
—

PYSEC-2019-131

Quick fix

PYSEC-2019-131 — typed-ast: upgrade to the fixed version with the command below.

pip install --upgrade 'typed-ast>=156afcb26c198e162504a57caddfe0acd9ed7dce'

Details

typed_ast 1.3.0 and 1.3.1 has an 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 code. (This issue also affected certain Python 3.8.0-alpha prereleases.)

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/typed-ast
Introduced in: 0Fixed in: 156afcb26c198e162504a57caddfe0acd9ed7dce
Fixpip install --upgrade 'typed-ast>=156afcb26c198e162504a57caddfe0acd9ed7dce'

References