Description
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.)
References (6)
Core 6
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dce
Patch, Third Party Advisory x_refsource_misc
https://github.com/python/cpython/commit/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c
Patch, Third Party Advisory x_refsource_misc
https://github.com/python/cpython/commit/a4d78362397fc3bced6ea80fbc7b5f4827aec55e
Patch, Third Party Advisory x_refsource_misc
https://github.com/python/typed_ast/commit/dc317ac9cff859aa84eeabe03fb5004982545b3b
Patch, Vendor Advisory x_refsource_misc
https://bugs.python.org/issue36495
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LG5H4Q6LFVRX7SFXLBEJMNQFI4T5SCEA/
Scores
CVSS v3
7.5
EPSS
0.0136
EPSS Percentile
80.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-125
Status
published
Products (3)
pypi/typed-ast
1.3.0 - 1.3.2PyPI
python/typed_ast
1.3.0
python/typed_ast
1.3.1
Published
Nov 26, 2019
Tracked Since
Feb 18, 2026