ALAS-2020-1471


Amazon Linux 2 Security Advisory: ALAS-2020-1471
Advisory Release Date: 2020-07-31 19:22 Pacific
Advisory Updated Date: 2023-10-25 21:40 Pacific
Severity: Medium

Issue Overview:

2023-10-25: CVE-2022-48560 was added to this advisory.

Python 2.7 through 2.7.17, 3.5 through 3.5.9, 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1 allows an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.request.AbstractBasicAuthHandler catastrophic backtracking. (CVE-2020-8492)

A use-after-free exists in Python through 3.9 via heappushpop in heapq. (CVE-2022-48560)


Affected Packages:

python, 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 python to update your system.
Run yum update python3 to update your system.

New Packages:
aarch64:
    python-2.7.18-1.amzn2.0.1.aarch64
    python-libs-2.7.18-1.amzn2.0.1.aarch64
    python-devel-2.7.18-1.amzn2.0.1.aarch64
    python-tools-2.7.18-1.amzn2.0.1.aarch64
    tkinter-2.7.18-1.amzn2.0.1.aarch64
    python-test-2.7.18-1.amzn2.0.1.aarch64
    python-debug-2.7.18-1.amzn2.0.1.aarch64
    python-debuginfo-2.7.18-1.amzn2.0.1.aarch64
    python3-3.7.8-1.amzn2.0.1.aarch64
    python3-libs-3.7.8-1.amzn2.0.1.aarch64
    python3-devel-3.7.8-1.amzn2.0.1.aarch64
    python3-tools-3.7.8-1.amzn2.0.1.aarch64
    python3-tkinter-3.7.8-1.amzn2.0.1.aarch64
    python3-test-3.7.8-1.amzn2.0.1.aarch64
    python3-debug-3.7.8-1.amzn2.0.1.aarch64
    python3-debuginfo-3.7.8-1.amzn2.0.1.aarch64

i686:
    python-2.7.18-1.amzn2.0.1.i686
    python-libs-2.7.18-1.amzn2.0.1.i686
    python-devel-2.7.18-1.amzn2.0.1.i686
    python-tools-2.7.18-1.amzn2.0.1.i686
    tkinter-2.7.18-1.amzn2.0.1.i686
    python-test-2.7.18-1.amzn2.0.1.i686
    python-debug-2.7.18-1.amzn2.0.1.i686
    python-debuginfo-2.7.18-1.amzn2.0.1.i686
    python3-3.7.8-1.amzn2.0.1.i686
    python3-libs-3.7.8-1.amzn2.0.1.i686
    python3-devel-3.7.8-1.amzn2.0.1.i686
    python3-tools-3.7.8-1.amzn2.0.1.i686
    python3-tkinter-3.7.8-1.amzn2.0.1.i686
    python3-test-3.7.8-1.amzn2.0.1.i686
    python3-debug-3.7.8-1.amzn2.0.1.i686
    python3-debuginfo-3.7.8-1.amzn2.0.1.i686

src:
    python-2.7.18-1.amzn2.0.1.src
    python3-3.7.8-1.amzn2.0.1.src

x86_64:
    python-2.7.18-1.amzn2.0.1.x86_64
    python-libs-2.7.18-1.amzn2.0.1.x86_64
    python-devel-2.7.18-1.amzn2.0.1.x86_64
    python-tools-2.7.18-1.amzn2.0.1.x86_64
    tkinter-2.7.18-1.amzn2.0.1.x86_64
    python-test-2.7.18-1.amzn2.0.1.x86_64
    python-debug-2.7.18-1.amzn2.0.1.x86_64
    python-debuginfo-2.7.18-1.amzn2.0.1.x86_64
    python3-3.7.8-1.amzn2.0.1.x86_64
    python3-libs-3.7.8-1.amzn2.0.1.x86_64
    python3-devel-3.7.8-1.amzn2.0.1.x86_64
    python3-tools-3.7.8-1.amzn2.0.1.x86_64
    python3-tkinter-3.7.8-1.amzn2.0.1.x86_64
    python3-test-3.7.8-1.amzn2.0.1.x86_64
    python3-debug-3.7.8-1.amzn2.0.1.x86_64
    python3-debuginfo-3.7.8-1.amzn2.0.1.x86_64