ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2025-829

Amazon Linux 2023 - ALAS2023-2025-829: Medium priority package update for python3.11

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: 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-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-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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023python3.11
All versions before 3.11.6-1.amzn2023.0.6 (fixed in 3.11.6-1.amzn2023.0.6)
Amazon Linux:2023python3.11-debug
All versions before 3.11.6-1.amzn2023.0.6 (fixed in 3.11.6-1.amzn2023.0.6)
Amazon Linux:2023python3.11-debuginfo
All versions before 3.11.6-1.amzn2023.0.6 (fixed in 3.11.6-1.amzn2023.0.6)
Amazon Linux:2023python3.11-debugsource
All versions before 3.11.6-1.amzn2023.0.6 (fixed in 3.11.6-1.amzn2023.0.6)
Amazon Linux:2023python3.11-devel
All versions before 3.11.6-1.amzn2023.0.6 (fixed in 3.11.6-1.amzn2023.0.6)
Amazon Linux:2023python3.11-idle
All versions before 3.11.6-1.amzn2023.0.6 (fixed in 3.11.6-1.amzn2023.0.6)
Amazon Linux:2023python3.11-libs
All versions before 3.11.6-1.amzn2023.0.6 (fixed in 3.11.6-1.amzn2023.0.6)
Amazon Linux:2023python3.11-test
All versions before 3.11.6-1.amzn2023.0.6 (fixed in 3.11.6-1.amzn2023.0.6)
Amazon Linux:2023python3.11-tkinter
All versions before 3.11.6-1.amzn2023.0.6 (fixed in 3.11.6-1.amzn2023.0.6)

References