Bug 1810597 (CVE-2019-19275) - CVE-2019-19275 python3-typed_ast: out-of-bounds read in ast_for_arguments() function
Summary: CVE-2019-19275 python3-typed_ast: out-of-bounds read in ast_for_arguments() f...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-19275
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1810598
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-05 14:50 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-10-28 05:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-10-28 05:24:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-03-05 14:50:36 UTC
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.)

Reference:
https://bugs.python.org/issue36495

Upstream commits:
https://github.com/python/cpython/commit/a4d78362397fc3bced6ea80fbc7b5f4827aec55e
https://github.com/python/cpython/commit/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c
https://github.com/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dce
https://github.com/python/typed_ast/commit/dc317ac9cff859aa84eeabe03fb5004982545b3b

Comment 1 Guilherme de Almeida Suckevicz 2020-03-05 14:51:17 UTC
Created python3-typed_ast tracking bugs for this issue:

Affects: fedora-30 [bug 1810598]


Note You need to log in before you can comment on or make changes to this bug.