Bug 1810593 (CVE-2019-19274) - CVE-2019-19274 python3-typed_ast: out-of-bounds read in handle_keywordonly_args() function
Summary: CVE-2019-19274 python3-typed_ast: out-of-bounds read in handle_keywordonly_ar...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-19274
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: 1810594
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-05 14:45 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-10-28 05:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-28 05:24:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-03-05 14:45:51 UTC
typed_ast 1.3.0 and 1.3.1 has a handle_keywordonly_args 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:47:07 UTC
Created python3-typed_ast tracking bugs for this issue:

Affects: fedora-30 [bug 1810594]


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