ALASPYTHON3.8-2023-007


Amazon Linux 2 Security Advisory: ALASPYTHON3.8-2023-007
Advisory Release Date: 2023-08-21 21:00 Pacific
Advisory Updated Date: 2024-01-19 02:20 Pacific
Severity: Medium

Issue Overview:

2024-01-19: CVE-2022-48566 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)

An issue was discovered in compare_digest in Lib/hmac.py in Python through 3.9.1. Constant-time-defeating optimisations were possible in the accumulator variable in hmac.compare_digest. (CVE-2022-48566)


Affected Packages:

python38


Note:

This advisory is applicable to Amazon Linux 2 - Python3.8 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


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

New Packages:
aarch64:
    python38-3.8.15-1.amzn2.0.1.aarch64
    python38-libs-3.8.15-1.amzn2.0.1.aarch64
    python38-devel-3.8.15-1.amzn2.0.1.aarch64
    python38-tools-3.8.15-1.amzn2.0.1.aarch64
    python38-tkinter-3.8.15-1.amzn2.0.1.aarch64
    python38-test-3.8.15-1.amzn2.0.1.aarch64
    python38-debug-3.8.15-1.amzn2.0.1.aarch64
    python38-debuginfo-3.8.15-1.amzn2.0.1.aarch64

src:
    python38-3.8.15-1.amzn2.0.1.src

x86_64:
    python38-3.8.15-1.amzn2.0.1.x86_64
    python38-libs-3.8.15-1.amzn2.0.1.x86_64
    python38-devel-3.8.15-1.amzn2.0.1.x86_64
    python38-tools-3.8.15-1.amzn2.0.1.x86_64
    python38-tkinter-3.8.15-1.amzn2.0.1.x86_64
    python38-test-3.8.15-1.amzn2.0.1.x86_64
    python38-debug-3.8.15-1.amzn2.0.1.x86_64
    python38-debuginfo-3.8.15-1.amzn2.0.1.x86_64