Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. typed-ast
  4. ›
  5. CVE-2019-19275

CVE-2019-19275: typed-ast Out-of-bounds Read

December 2, 2019 (updated November 18, 2024)

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

  • bugs.python.org/issue36495
  • github.com/advisories/GHSA-7xxv-wpxj-mx5v
  • github.com/pypa/advisory-database/tree/main/vulns/typed-ast/PYSEC-2019-131.yaml
  • github.com/python/cpython/commit/a4d78362397fc3bced6ea80fbc7b5f4827aec55e
  • github.com/python/cpython/commit/dcfcd146f8e6fc5c2fc16a4c192a0c5f5ca8c53c
  • github.com/python/typed_ast
  • github.com/python/typed_ast/commit/156afcb26c198e162504a57caddfe0acd9ed7dce
  • github.com/python/typed_ast/commit/dc317ac9cff859aa84eeabe03fb5004982545b3b
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LG5H4Q6LFVRX7SFXLBEJMNQFI4T5SCEA
  • nvd.nist.gov/vuln/detail/CVE-2019-19275

Code Behaviors & Features

Detect and mitigate CVE-2019-19275 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.3.0 before 1.3.2

Fixed versions

  • 1.3.2

Solution

Upgrade to version 1.3.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-125: Out-of-bounds Read

Source file

pypi/typed-ast/CVE-2019-19275.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.