ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2024-616

Amazon Linux 2023 - ALAS2023-2024-616: Important priority package update for python3.9

Important CVE-2023-6597

Details

Package updates are available for Amazon Linux 2023 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:2023python-unversioned-command
All versions before 3.9.16-1.amzn2023.0.8 (fixed in 3.9.16-1.amzn2023.0.8)
Amazon Linux:2023python3
All versions before 3.9.16-1.amzn2023.0.8 (fixed in 3.9.16-1.amzn2023.0.8)
Amazon Linux:2023python3-debug
All versions before 3.9.16-1.amzn2023.0.8 (fixed in 3.9.16-1.amzn2023.0.8)
Amazon Linux:2023python3-devel
All versions before 3.9.16-1.amzn2023.0.8 (fixed in 3.9.16-1.amzn2023.0.8)
Amazon Linux:2023python3-idle
All versions before 3.9.16-1.amzn2023.0.8 (fixed in 3.9.16-1.amzn2023.0.8)
Amazon Linux:2023python3-libs
All versions before 3.9.16-1.amzn2023.0.8 (fixed in 3.9.16-1.amzn2023.0.8)
Amazon Linux:2023python3-test
All versions before 3.9.16-1.amzn2023.0.8 (fixed in 3.9.16-1.amzn2023.0.8)
Amazon Linux:2023python3-tkinter
All versions before 3.9.16-1.amzn2023.0.8 (fixed in 3.9.16-1.amzn2023.0.8)
Amazon Linux:2023python3.9-debuginfo
All versions before 3.9.16-1.amzn2023.0.8 (fixed in 3.9.16-1.amzn2023.0.8)
Amazon Linux:2023python3.9-debugsource
All versions before 3.9.16-1.amzn2023.0.8 (fixed in 3.9.16-1.amzn2023.0.8)

References