Skip to content
OpenAdvisories
High · 7.5 CVE-2019-19274 EUVD-2019-0149GHSA-m3jw-62m7-jjcmPYSEC-2019-130

typed-ast Out-of-bounds Read

Published Nov 26, 2019 · Updated Aug 5, 2024 · Assigned by mitre

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

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 python3-typed-ast 1.4.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS python3-typed-ast No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP1 python-typed-ast 1.3.1-bp151.2.6.1 openSUSE-SU-2020:0609-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 python-typed-ast 1.3.1-lp151.2.6.1 openSUSE-SU-2020:0567-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI typed-ast >= 1.3.0, < 1.3.2 1.3.2 GHSA-m3jw-62m7-jjcm
PyPI typed-ast < 1.3.2 1.3.2 PYSEC-2019-130

Advisories 2

References