Skip to content
OpenAdvisories
Medium ALAS2-2025-2797 5 CVEs

Moderate: python security update (Amazon Linux 2)

Published Mar 13, 2025 · Updated Mar 25, 2025

Summary

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.

Fixed packages 8

ReleasePackageFixed in
Amazon Linux · 2 python 0:2.7.18-1.amzn2.0.11
Amazon Linux · 2 python-debug 0:2.7.18-1.amzn2.0.11
Amazon Linux · 2 python-debuginfo 0:2.7.18-1.amzn2.0.11
Amazon Linux · 2 python-devel 0:2.7.18-1.amzn2.0.11
Amazon Linux · 2 python-libs 0:2.7.18-1.amzn2.0.11
Amazon Linux · 2 python-test 0:2.7.18-1.amzn2.0.11
Amazon Linux · 2 python-tools 0:2.7.18-1.amzn2.0.11
Amazon Linux · 2 tkinter 0:2.7.18-1.amzn2.0.11

Vulnerabilities 5

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-0450.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-11168.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-2025-0938.html