ALAS-2024-699


Amazon Linux 2023 Security Advisory: ALAS-2024-699
Advisory Release Date: 2024-08-01 04:06 Pacific
Advisory Updated Date: 2024-08-06 15:00 Pacific
Severity: Medium

Issue Overview:

A defect was discovered in the Python "ssl" module where there is a memory
race condition with the ssl.SSLContext methods "cert_store_stats()" and
"get_ca_certs()". The race condition can be triggered if the methods are
called at the same time as certificates are loaded into the SSLContext,
such as during the TLS handshake with a certificate directory configured.
This issue is fixed in CPython 3.10.14, 3.11.9, 3.12.3, and 3.13.0a5. (CVE-2024-0397)


Affected Packages:

python3.9


Issue Correction:
Run dnf update python3.9 --releasever 2023.5.20240805 to update your system.

New Packages:
aarch64:
    python3-tkinter-3.9.16-1.amzn2023.0.9.aarch64
    python3-idle-3.9.16-1.amzn2023.0.9.aarch64
    python3-debug-3.9.16-1.amzn2023.0.9.aarch64
    python3-devel-3.9.16-1.amzn2023.0.9.aarch64
    python3-3.9.16-1.amzn2023.0.9.aarch64
    python3.9-debugsource-3.9.16-1.amzn2023.0.9.aarch64
    python3.9-debuginfo-3.9.16-1.amzn2023.0.9.aarch64
    python3-libs-3.9.16-1.amzn2023.0.9.aarch64
    python3-test-3.9.16-1.amzn2023.0.9.aarch64

noarch:
    python-unversioned-command-3.9.16-1.amzn2023.0.9.noarch

src:
    python3.9-3.9.16-1.amzn2023.0.9.src

x86_64:
    python3-devel-3.9.16-1.amzn2023.0.9.x86_64
    python3-tkinter-3.9.16-1.amzn2023.0.9.x86_64
    python3-debug-3.9.16-1.amzn2023.0.9.x86_64
    python3-idle-3.9.16-1.amzn2023.0.9.x86_64
    python3-3.9.16-1.amzn2023.0.9.x86_64
    python3.9-debugsource-3.9.16-1.amzn2023.0.9.x86_64
    python3.9-debuginfo-3.9.16-1.amzn2023.0.9.x86_64
    python3-test-3.9.16-1.amzn2023.0.9.x86_64
    python3-libs-3.9.16-1.amzn2023.0.9.x86_64