Amazon Linux Security Advisory
ALAS2-2025-2815
Amazon Linux 2 2017.12 - ALAS2-2025-2815: medium priority package update for python3
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-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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2 | python3 | All versions before 3.7.16-1.amzn2.0.14 (fixed in 3.7.16-1.amzn2.0.14) |
| Amazon Linux:2 | python3-debug | All versions before 3.7.16-1.amzn2.0.14 (fixed in 3.7.16-1.amzn2.0.14) |
| Amazon Linux:2 | python3-debuginfo | All versions before 3.7.16-1.amzn2.0.14 (fixed in 3.7.16-1.amzn2.0.14) |
| Amazon Linux:2 | python3-devel | All versions before 3.7.16-1.amzn2.0.14 (fixed in 3.7.16-1.amzn2.0.14) |
| Amazon Linux:2 | python3-libs | All versions before 3.7.16-1.amzn2.0.14 (fixed in 3.7.16-1.amzn2.0.14) |
| Amazon Linux:2 | python3-test | All versions before 3.7.16-1.amzn2.0.14 (fixed in 3.7.16-1.amzn2.0.14) |
| Amazon Linux:2 | python3-tkinter | All versions before 3.7.16-1.amzn2.0.14 (fixed in 3.7.16-1.amzn2.0.14) |
| Amazon Linux:2 | python3-tools | All versions before 3.7.16-1.amzn2.0.14 (fixed in 3.7.16-1.amzn2.0.14) |