Original 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.
Affected software
- Python = 3.11.0≥ 3.10.0 ≤ 3.10.8≥ 3.8.0 ≤ 3.8.15≥ 3.9.0 ≤ 3.9.15≤ 3.7.15 exact match
Details
- Published
- 2022-11-09
- Last modified
- 2026-10-15
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- EPSS (30-day exploit probability)
- 3.33% (percentile 89)
References
- cve.org/CVE-2022-45061
- nvd.nist.gov/vuln/detail/CVE-2022-45061
- github.com/python/cpython/issues/98433
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R...
- security.netapp.com/advisory/ntap-20221209-0007/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.