ADVISORIES

Amazon Linux Security Advisory

ALAS2-2024-2541

Amazon Linux 2 2017.12 - ALAS2-2024-2541: important priority package update for python3

Important CVE-2023-6597

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-6597: An issue was found in the CPython tempfile.TemporaryDirectory class affecting versions 3.12.2, 3.11.8, 3.10.13, 3.9.18, and 3.8.18 and prior.

The tempfile.TemporaryDirectory class would dereference symlinks during cleanup of permissions-related errors. This means users which can run privileged programs are potentially able to modify permissions of files referenced by symlinks in some circumstances.

Affected packages

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

References