ALAS-2024-617


Amazon Linux 2023 Security Advisory: ALAS-2024-617
Advisory Release Date: 2024-05-09 17:16 Pacific
Advisory Updated Date: 2024-05-15 19:36 Pacific
Severity: Important

Issue Overview:

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. (CVE-2023-6597)


Affected Packages:

python3.11


Issue Correction:
Run dnf update python3.11 --releasever 2023.4.20240513 to update your system.

New Packages:
aarch64:
    python3.11-idle-3.11.6-1.amzn2023.0.3.aarch64
    python3.11-devel-3.11.6-1.amzn2023.0.3.aarch64
    python3.11-3.11.6-1.amzn2023.0.3.aarch64
    python3.11-tkinter-3.11.6-1.amzn2023.0.3.aarch64
    python3.11-debugsource-3.11.6-1.amzn2023.0.3.aarch64
    python3.11-debug-3.11.6-1.amzn2023.0.3.aarch64
    python3.11-debuginfo-3.11.6-1.amzn2023.0.3.aarch64
    python3.11-libs-3.11.6-1.amzn2023.0.3.aarch64
    python3.11-test-3.11.6-1.amzn2023.0.3.aarch64

src:
    python3.11-3.11.6-1.amzn2023.0.3.src

x86_64:
    python3.11-3.11.6-1.amzn2023.0.3.x86_64
    python3.11-tkinter-3.11.6-1.amzn2023.0.3.x86_64
    python3.11-idle-3.11.6-1.amzn2023.0.3.x86_64
    python3.11-devel-3.11.6-1.amzn2023.0.3.x86_64
    python3.11-debugsource-3.11.6-1.amzn2023.0.3.x86_64
    python3.11-debug-3.11.6-1.amzn2023.0.3.x86_64
    python3.11-debuginfo-3.11.6-1.amzn2023.0.3.x86_64
    python3.11-libs-3.11.6-1.amzn2023.0.3.x86_64
    python3.11-test-3.11.6-1.amzn2023.0.3.x86_64