Vulnerability Details : CVE-2019-19274
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.)
Products affected by CVE-2019-19274
- cpe:2.3:a:python:typed_ast:1.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:python:typed_ast:1.3.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-19274
0.51%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 77 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-19274
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2019-19274
-
The product reads data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-19274
-
https://bugs.python.org/issue36495
Issue 36495: Out-of-bounds array reads in Python/ast.c - Python trackerPatch;Vendor Advisory
-
https://github.com/python/typed_ast/commit/dc317ac9cff859aa84eeabe03fb5004982545b3b
Fix two out-of-bounds array reads (#99) · python/typed_ast@dc317ac · GitHubPatch;Third Party Advisory
-
https://github.com/python/cpython/commit/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c
bpo-35766: Merge typed_ast back into CPython (GH-11645) · python/cpython@dcfcd14 · GitHubPatch;Third Party Advisory
-
https://github.com/python/cpython/commit/a4d78362397fc3bced6ea80fbc7b5f4827aec55e
bpo-36495: Fix two out-of-bounds array reads (GH-12641) · python/cpython@a4d7836 · GitHubPatch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LG5H4Q6LFVRX7SFXLBEJMNQFI4T5SCEA/
[SECURITY] Fedora 30 Update: python3-typed_ast-1.4.0-2.fc30 - package-announce - Fedora Mailing-Lists
-
https://github.com/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dce
Fully incorporate the code from Python 3.7.2 (#78) · python/typed_ast@156afcb · GitHubPatch;Third Party Advisory
Jump to