ADVISORIES

Amazon Linux Security Advisory

ALAS2-2025-2962

Amazon Linux 2 2017.12 - ALAS2-2025-2962: important priority package update for python3

Important CVE-2025-8194

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-8194: There is a defect in the CPython "tarfile" module affecting the "TarFile" extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives.

This vulnerability can be mitigated by including the following patch after importing the "tarfile" module: https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2python3
All versions before 3.7.16-1.amzn2.0.19 (fixed in 3.7.16-1.amzn2.0.19)
Amazon Linux:2python3-debug
All versions before 3.7.16-1.amzn2.0.19 (fixed in 3.7.16-1.amzn2.0.19)
Amazon Linux:2python3-debuginfo
All versions before 3.7.16-1.amzn2.0.19 (fixed in 3.7.16-1.amzn2.0.19)
Amazon Linux:2python3-devel
All versions before 3.7.16-1.amzn2.0.19 (fixed in 3.7.16-1.amzn2.0.19)
Amazon Linux:2python3-libs
All versions before 3.7.16-1.amzn2.0.19 (fixed in 3.7.16-1.amzn2.0.19)
Amazon Linux:2python3-test
All versions before 3.7.16-1.amzn2.0.19 (fixed in 3.7.16-1.amzn2.0.19)
Amazon Linux:2python3-tkinter
All versions before 3.7.16-1.amzn2.0.19 (fixed in 3.7.16-1.amzn2.0.19)
Amazon Linux:2python3-tools
All versions before 3.7.16-1.amzn2.0.19 (fixed in 3.7.16-1.amzn2.0.19)

References