Advisory

PYSEC-2019-130

Also known as: CVE-2019-19274, GHSA-m3jw-62m7-jjcm

Summary

The record has no summary.

Details

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.)

Severity

Not rated by the source.

Dates

Published
2019-11-26 15:15 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

typed-ast

PyPI · All systems

Affected

  • introduced 0, fixed 1.3.2 (ecosystem)

Fixed versions

1.3.2

Fix

  • Fixed version 1.3.2
    pip install --upgrade typed-ast==1.3.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences