Summary
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.
Fixed packages 9
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | python3.11 | 0:3.11.6-1.amzn2023.0.5 |
| Amazon Linux · 2023 | python3.11-debug | 0:3.11.6-1.amzn2023.0.5 |
| Amazon Linux · 2023 | python3.11-debuginfo | 0:3.11.6-1.amzn2023.0.5 |
| Amazon Linux · 2023 | python3.11-debugsource | 0:3.11.6-1.amzn2023.0.5 |
| Amazon Linux · 2023 | python3.11-devel | 0:3.11.6-1.amzn2023.0.5 |
| Amazon Linux · 2023 | python3.11-idle | 0:3.11.6-1.amzn2023.0.5 |
| Amazon Linux · 2023 | python3.11-libs | 0:3.11.6-1.amzn2023.0.5 |
| Amazon Linux · 2023 | python3.11-test | 0:3.11.6-1.amzn2023.0.5 |
| Amazon Linux · 2023 | python3.11-tkinter | 0:3.11.6-1.amzn2023.0.5 |
Vulnerabilities 3
-
High 8.7
Infinite loop when iterating over zip archive entry names from zipfile.Path
There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected. When iterating over names of entries in a zip archive (for example, methods of "zipfil…
-
High 7.4
Memory race condition in ssl.SSLContext certificate store methods
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…
-
Medium 5.3
The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wro…