ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-1135

Amazon Linux 2023 - ALAS2023-2025-1135: Important priority package update for python3.12

Important CVE-2025-8194

Details

Package updates are available for Amazon Linux 2023 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:2023python3.12
All versions before 3.12.11-2.amzn2023.0.2 (fixed in 3.12.11-2.amzn2023.0.2)
Amazon Linux:2023python3.12-debug
All versions before 3.12.11-2.amzn2023.0.2 (fixed in 3.12.11-2.amzn2023.0.2)
Amazon Linux:2023python3.12-debuginfo
All versions before 3.12.11-2.amzn2023.0.2 (fixed in 3.12.11-2.amzn2023.0.2)
Amazon Linux:2023python3.12-debugsource
All versions before 3.12.11-2.amzn2023.0.2 (fixed in 3.12.11-2.amzn2023.0.2)
Amazon Linux:2023python3.12-devel
All versions before 3.12.11-2.amzn2023.0.2 (fixed in 3.12.11-2.amzn2023.0.2)
Amazon Linux:2023python3.12-idle
All versions before 3.12.11-2.amzn2023.0.2 (fixed in 3.12.11-2.amzn2023.0.2)
Amazon Linux:2023python3.12-libs
All versions before 3.12.11-2.amzn2023.0.2 (fixed in 3.12.11-2.amzn2023.0.2)
Amazon Linux:2023python3.12-test
All versions before 3.12.11-2.amzn2023.0.2 (fixed in 3.12.11-2.amzn2023.0.2)
Amazon Linux:2023python3.12-tkinter
All versions before 3.12.11-2.amzn2023.0.2 (fixed in 3.12.11-2.amzn2023.0.2)

References