CVE-2019-19274
Last modified
CVE-2019-19274 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 3.26% chance of exploitation in the next 30 days.
Description
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.)
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Typed Ast | 1.3.0 |
| Python | Typed Ast | 1.3.1 |
References
- https://bugs.python.org/issue36495Patch, Vendor Advisory
- https://github.com/python/cpython/commit/a4d78362397fc3bced6ea80fbc7b5f4827aec55ePatch, Third Party Advisory
- https://github.com/python/cpython/commit/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53cPatch, Third Party Advisory
- https://github.com/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dcePatch, Third Party Advisory
- https://github.com/python/typed_ast/commit/dc317ac9cff859aa84eeabe03fb5004982545b3bPatch, Third Party Advisory
- https://bugs.python.org/issue36495Patch, Vendor Advisory
- https://github.com/python/cpython/commit/a4d78362397fc3bced6ea80fbc7b5f4827aec55ePatch, Third Party Advisory
- https://github.com/python/cpython/commit/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53cPatch, Third Party Advisory
- https://github.com/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dcePatch, Third Party Advisory
- https://github.com/python/typed_ast/commit/dc317ac9cff859aa84eeabe03fb5004982545b3bPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-19274?
How severe is CVE-2019-19274?
How do I fix CVE-2019-19274?
Are you affected by CVE-2019-19274?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
