ALAS-2025-2754


Amazon Linux 2 Security Advisory: ALAS-2025-2754
Advisory Release Date: 2025-02-12 23:17 Pacific
Advisory Updated Date: 2025-02-25 10:30 Pacific
Severity: Medium

Issue Overview:

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-11168)

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-6923)

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-7592)


Affected Packages:

python3


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update python3 to update your system.

New Packages:
aarch64:
    python3-3.7.16-1.amzn2.0.12.aarch64
    python3-libs-3.7.16-1.amzn2.0.12.aarch64
    python3-devel-3.7.16-1.amzn2.0.12.aarch64
    python3-tools-3.7.16-1.amzn2.0.12.aarch64
    python3-tkinter-3.7.16-1.amzn2.0.12.aarch64
    python3-test-3.7.16-1.amzn2.0.12.aarch64
    python3-debug-3.7.16-1.amzn2.0.12.aarch64
    python3-debuginfo-3.7.16-1.amzn2.0.12.aarch64

i686:
    python3-3.7.16-1.amzn2.0.12.i686
    python3-libs-3.7.16-1.amzn2.0.12.i686
    python3-devel-3.7.16-1.amzn2.0.12.i686
    python3-tools-3.7.16-1.amzn2.0.12.i686
    python3-tkinter-3.7.16-1.amzn2.0.12.i686
    python3-test-3.7.16-1.amzn2.0.12.i686
    python3-debug-3.7.16-1.amzn2.0.12.i686
    python3-debuginfo-3.7.16-1.amzn2.0.12.i686

src:
    python3-3.7.16-1.amzn2.0.12.src

x86_64:
    python3-3.7.16-1.amzn2.0.12.x86_64
    python3-libs-3.7.16-1.amzn2.0.12.x86_64
    python3-devel-3.7.16-1.amzn2.0.12.x86_64
    python3-tools-3.7.16-1.amzn2.0.12.x86_64
    python3-tkinter-3.7.16-1.amzn2.0.12.x86_64
    python3-test-3.7.16-1.amzn2.0.12.x86_64
    python3-debug-3.7.16-1.amzn2.0.12.x86_64
    python3-debuginfo-3.7.16-1.amzn2.0.12.x86_64