ALASPYTHON3.8-2023-002

Related Vulnerabilities: CVE-2022-45061  

An issue was discovered in Python before 3.11.1. An unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA (RFC 3490) decoder, such that a crafted, unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malicious actor; in such a scenario, they could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied supposed hostname. For example, the attack payload could be placed in the Location header of an HTTP response with status code 302. A fix is planned in 3.11.1, 3.10.9, 3.9.16, 3.8.16, and 3.7.16. (CVE-2022-45061)

ALASPYTHON3.8-2023-002


Amazon Linux 2 Security Advisory: ALASPYTHON3.8-2023-002
Advisory Release Date: 2023-08-21 21:00 Pacific
Advisory Updated Date: 2023-09-25 22:04 Pacific
Severity: Important

Issue Overview:

An issue was discovered in Python before 3.11.1. An unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA (RFC 3490) decoder, such that a crafted, unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malicious actor; in such a scenario, they could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied supposed hostname. For example, the attack payload could be placed in the Location header of an HTTP response with status code 302. A fix is planned in 3.11.1, 3.10.9, 3.9.16, 3.8.16, and 3.7.16. (CVE-2022-45061)


Affected Packages:

python38


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

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

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

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