ALAS2-2022-1896


Amazon Linux 2 Security Advisory: ALAS-2022-1896
Advisory Release Date: 2022-12-01 20:31 Pacific
Advisory Updated Date: 2025-02-11 23:16 Pacific
Severity: Medium

Issue Overview:

2025-02-11: CVE-2021-28861 was added to this advisory.

A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int("text"), a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits (float, decimal, int.from_bytes(), and int() for binary bases 2, 4, 8, 16, and 32 are not affected). The highest threat from this vulnerability is to system availability. (CVE-2020-10735)

Python 3.x through 3.10 has an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of URI path which may leads to information disclosure. NOTE: this is disputed by a third party because the http.server.html documentation page states "Warning: http.server is not recommended for production. It only implements basic security checks." (CVE-2021-28861)


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.15-1.amzn2.0.1.aarch64
    python3-libs-3.7.15-1.amzn2.0.1.aarch64
    python3-devel-3.7.15-1.amzn2.0.1.aarch64
    python3-tools-3.7.15-1.amzn2.0.1.aarch64
    python3-tkinter-3.7.15-1.amzn2.0.1.aarch64
    python3-test-3.7.15-1.amzn2.0.1.aarch64
    python3-debug-3.7.15-1.amzn2.0.1.aarch64
    python3-debuginfo-3.7.15-1.amzn2.0.1.aarch64

i686:
    python3-3.7.15-1.amzn2.0.1.i686
    python3-libs-3.7.15-1.amzn2.0.1.i686
    python3-devel-3.7.15-1.amzn2.0.1.i686
    python3-tools-3.7.15-1.amzn2.0.1.i686
    python3-tkinter-3.7.15-1.amzn2.0.1.i686
    python3-test-3.7.15-1.amzn2.0.1.i686
    python3-debug-3.7.15-1.amzn2.0.1.i686
    python3-debuginfo-3.7.15-1.amzn2.0.1.i686

src:
    python3-3.7.15-1.amzn2.0.1.src

x86_64:
    python3-3.7.15-1.amzn2.0.1.x86_64
    python3-libs-3.7.15-1.amzn2.0.1.x86_64
    python3-devel-3.7.15-1.amzn2.0.1.x86_64
    python3-tools-3.7.15-1.amzn2.0.1.x86_64
    python3-tkinter-3.7.15-1.amzn2.0.1.x86_64
    python3-test-3.7.15-1.amzn2.0.1.x86_64
    python3-debug-3.7.15-1.amzn2.0.1.x86_64
    python3-debuginfo-3.7.15-1.amzn2.0.1.x86_64