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.
Metrics
Affected Vendors & Products
References
History
Thu, 01 May 2025 15:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|

Status: PUBLISHED
Assigner: mitre
Published: 2022-11-09T00:00:00.000Z
Updated: 2025-05-01T14:24:40.478Z
Reserved: 2022-11-09T00:00:00.000Z
Link: CVE-2022-45061

Updated: 2024-08-03T14:01:31.434Z

Status : Modified
Published: 2022-11-09T07:15:09.887
Modified: 2025-05-01T15:15:58.423
Link: CVE-2022-45061
