Amazon Linux Security Advisory
ALAS2023-2024-788
Amazon Linux 2023 - ALAS2023-2024-788: Medium priority package update for python3.11
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2024-8088: There is a severity vulnerability affecting the CPython "zipfile" module.
When iterating over names of entries in a zip archive (for example, methods of "zipfile.ZipFile" like "namelist()", "iterdir()", "extractall()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected.
CVE-2024-0397: 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-2023-27043: The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In some applications, an attacker can bypass a protection mechanism in which application access is granted only after verifying receipt of e-mail to a specific domain (e.g., only @company.example.com addresses may be used for signup). This occurs in email/_parseaddr.py in recent versions of Python.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | python3.11 | All versions before 3.11.6-1.amzn2023.0.5 (fixed in 3.11.6-1.amzn2023.0.5) |
| Amazon Linux:2023 | python3.11-debug | All versions before 3.11.6-1.amzn2023.0.5 (fixed in 3.11.6-1.amzn2023.0.5) |
| Amazon Linux:2023 | python3.11-debuginfo | All versions before 3.11.6-1.amzn2023.0.5 (fixed in 3.11.6-1.amzn2023.0.5) |
| Amazon Linux:2023 | python3.11-debugsource | All versions before 3.11.6-1.amzn2023.0.5 (fixed in 3.11.6-1.amzn2023.0.5) |
| Amazon Linux:2023 | python3.11-devel | All versions before 3.11.6-1.amzn2023.0.5 (fixed in 3.11.6-1.amzn2023.0.5) |
| Amazon Linux:2023 | python3.11-idle | All versions before 3.11.6-1.amzn2023.0.5 (fixed in 3.11.6-1.amzn2023.0.5) |
| Amazon Linux:2023 | python3.11-libs | All versions before 3.11.6-1.amzn2023.0.5 (fixed in 3.11.6-1.amzn2023.0.5) |
| Amazon Linux:2023 | python3.11-test | All versions before 3.11.6-1.amzn2023.0.5 (fixed in 3.11.6-1.amzn2023.0.5) |
| Amazon Linux:2023 | python3.11-tkinter | All versions before 3.11.6-1.amzn2023.0.5 (fixed in 3.11.6-1.amzn2023.0.5) |