Skip to content
OpenAdvisories
High ALAS2023-2024-790 7 CVEs

Important: python3.9 security update (Amazon Linux 2023)

Published Dec 12, 2024 · Updated Feb 26, 2025

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-7592: There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value. CVE-2024-6923: There is a MEDIUM severity vulnerability affecting CPython. The email module didn't properly quote newlines for email headers when serializing an email message allowing for header injection when an email is serialized. CVE-2024-6232: There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives. CVE-2024-4032: The "ipaddress" module contained incorrect information about whether certain IPv4 and IPv6 addresses were designated as "globally reachable" or "private". This affected the is_private and is_global properties of the ipaddress.IPv4Address, ipaddress.IPv4Network, ipaddress.IPv6Address, and ipaddress.IPv6Network classes, where values wouldn't be returned in accordance with the latest information from the IANA Special-Purpose Address Registries. CPython 3.12.4 and 3.13.0a6 contain updated information from these registries and thus have the intended behavior. 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. CVE-2007-4559: Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remote attackers to overwrite arbitrary files via a .. (dot dot) sequence in filenames in a TAR archive, a related issue to CVE-2001-1267.

Fixed packages 10

ReleasePackageFixed in
Amazon Linux · 2023 python-unversioned-command 0:3.9.20-1.amzn2023.0.2
Amazon Linux · 2023 python3 0:3.9.20-1.amzn2023.0.2
Amazon Linux · 2023 python3-debug 0:3.9.20-1.amzn2023.0.2
Amazon Linux · 2023 python3-devel 0:3.9.20-1.amzn2023.0.2
Amazon Linux · 2023 python3-idle 0:3.9.20-1.amzn2023.0.2
Amazon Linux · 2023 python3-libs 0:3.9.20-1.amzn2023.0.2
Amazon Linux · 2023 python3-test 0:3.9.20-1.amzn2023.0.2
Amazon Linux · 2023 python3-tkinter 0:3.9.20-1.amzn2023.0.2
Amazon Linux · 2023 python3.9-debuginfo 0:3.9.20-1.amzn2023.0.2
Amazon Linux · 2023 python3.9-debugsource 0:3.9.20-1.amzn2023.0.2

Vulnerabilities 7

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2007-4559.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-27043.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-4032.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-6232.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-6923.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-7592.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-8088.html