CVE-2022-45061

Public on 2022-11-09
Modified on 2024-05-09
Description
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.
Severity
Important severity
Important
CVSS v3 Base Score
7.5
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core python 2023-03-02 ALAS2-2023-1980 Fixed
Amazon Linux 1 python27 2023-03-30 ALAS-2023-1713 Fixed
Amazon Linux 2 - Core python3 2023-01-18 ALAS2-2023-1917 Fixed
Amazon Linux 2023 python3.9 2023-02-17 ALAS2023-2023-104 Fixed
Amazon Linux 1 python38 2023-03-30 ALAS-2023-1714 Fixed
Amazon Linux 2 - Python3.8 Extra python38 2023-08-21 ALAS2PYTHON3.8-2023-002 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H