ADVISORIES

Amazon Linux Security Advisory

ALAS2-2025-2923

Amazon Linux 2 2017.12 - ALAS2-2025-2923: medium priority package update for python3

Details

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-6069: The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.

CVE-2025-4516: There is an issue in CPython when using bytes.decode("unicode_escape", error="ignore|replace"). If you are not using the "unicode_escape" encoding or an error handler your usage is not affected. To work-around this issue you may stop using the error= handler and instead wrap the bytes.decode() call in a try-except catching the DecodeError.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2python3
All versions before 3.7.16-1.amzn2.0.18 (fixed in 3.7.16-1.amzn2.0.18)
Amazon Linux:2python3-debug
All versions before 3.7.16-1.amzn2.0.18 (fixed in 3.7.16-1.amzn2.0.18)
Amazon Linux:2python3-debuginfo
All versions before 3.7.16-1.amzn2.0.18 (fixed in 3.7.16-1.amzn2.0.18)
Amazon Linux:2python3-devel
All versions before 3.7.16-1.amzn2.0.18 (fixed in 3.7.16-1.amzn2.0.18)
Amazon Linux:2python3-libs
All versions before 3.7.16-1.amzn2.0.18 (fixed in 3.7.16-1.amzn2.0.18)
Amazon Linux:2python3-test
All versions before 3.7.16-1.amzn2.0.18 (fixed in 3.7.16-1.amzn2.0.18)
Amazon Linux:2python3-tkinter
All versions before 3.7.16-1.amzn2.0.18 (fixed in 3.7.16-1.amzn2.0.18)
Amazon Linux:2python3-tools
All versions before 3.7.16-1.amzn2.0.18 (fixed in 3.7.16-1.amzn2.0.18)

References