ADVISORIES

Amazon Linux Security Advisory

ALAS2-2025-2797

Amazon Linux 2 2017.12 - ALAS2-2025-2797: medium priority package update for python

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-0938: The Python standard library functions urllib.parse.urlsplit and urlparse accepted domain names that included square brackets which isn't valid according to RFC 3986. Square brackets are only meant to be used as delimiters for specifying IPv6 and IPvFuture hosts in URLs. This could result in differential parsing across the Python URL parser and other specification-compliant URL parsers.

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-11168: The urllib.parse.urlsplit() and urlparse() functions improperly validated bracketed hosts ([]), allowing hosts that weren't IPv6 or IPvFuture. This behavior was not conformant to RFC 3986 and potentially enabled SSRF if a URL is processed by more than one URL parser.

CVE-2024-0450: An issue was found in the CPython zipfile module affecting versions 3.12.2, 3.11.8, 3.10.13, 3.9.18, and 3.8.18 and prior.

The zipfile module is vulnerable to "quoted-overlap" zip-bombs which exploit the zip format to create a zip-bomb with a high compression ratio. The fixed versions of CPython makes the zipfile module reject zip archives which overlap entries in the archive.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2python
All versions before 2.7.18-1.amzn2.0.11 (fixed in 2.7.18-1.amzn2.0.11)
Amazon Linux:2python-debug
All versions before 2.7.18-1.amzn2.0.11 (fixed in 2.7.18-1.amzn2.0.11)
Amazon Linux:2python-debuginfo
All versions before 2.7.18-1.amzn2.0.11 (fixed in 2.7.18-1.amzn2.0.11)
Amazon Linux:2python-devel
All versions before 2.7.18-1.amzn2.0.11 (fixed in 2.7.18-1.amzn2.0.11)
Amazon Linux:2python-libs
All versions before 2.7.18-1.amzn2.0.11 (fixed in 2.7.18-1.amzn2.0.11)
Amazon Linux:2python-test
All versions before 2.7.18-1.amzn2.0.11 (fixed in 2.7.18-1.amzn2.0.11)
Amazon Linux:2python-tools
All versions before 2.7.18-1.amzn2.0.11 (fixed in 2.7.18-1.amzn2.0.11)
Amazon Linux:2tkinter
All versions before 2.7.18-1.amzn2.0.11 (fixed in 2.7.18-1.amzn2.0.11)

References