Amazon Linux Security Advisory
ALAS2023-2024-617
Amazon Linux 2023 - ALAS2023-2024-617: Important priority package update for python3.11
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | python3.11 | All versions before 3.11.6-1.amzn2023.0.3 (fixed in 3.11.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | python3.11-debug | All versions before 3.11.6-1.amzn2023.0.3 (fixed in 3.11.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | python3.11-debuginfo | All versions before 3.11.6-1.amzn2023.0.3 (fixed in 3.11.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | python3.11-debugsource | All versions before 3.11.6-1.amzn2023.0.3 (fixed in 3.11.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | python3.11-devel | All versions before 3.11.6-1.amzn2023.0.3 (fixed in 3.11.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | python3.11-idle | All versions before 3.11.6-1.amzn2023.0.3 (fixed in 3.11.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | python3.11-libs | All versions before 3.11.6-1.amzn2023.0.3 (fixed in 3.11.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | python3.11-test | All versions before 3.11.6-1.amzn2023.0.3 (fixed in 3.11.6-1.amzn2023.0.3) |
| Amazon Linux:2023 | python3.11-tkinter | All versions before 3.11.6-1.amzn2023.0.3 (fixed in 3.11.6-1.amzn2023.0.3) |