CVE & CISA-KEV Catalog

CVE-2022-45061

HIGHEPSS 85th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
pythonAmazon
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
python-debugAmazon
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
python-debuginfoAmazon
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
python-develAmazon
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
python-libsAmazon
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
python-testAmazon
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
python-toolsAmazon
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
python-unversioned-commandAmazon
Fixed in:0:3.9.16-1.amzn2023.0.2
python3Amazon
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
python3-debugAmazon
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
python3-debuginfoAmazon
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
python3-develAmazon
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
python3-idleAmazon
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
python3-libsAmazon
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
python3-testAmazon
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
python3-tkinterAmazon
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
python3-toolsAmazon
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
Fixed in:0:3.7.16-1.amzn2.0.1
python3.9-debuginfoAmazon
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
python3.9-debugsourceAmazon
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
Fixed in:0:3.9.16-1.amzn2023.0.2
tkinterAmazon
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
Fixed in:0:2.7.18-1.amzn2.0.6
pypy3Debian
Fixed in:7.3.11+dfsg-1CVE-2022-45061
Fixed in:7.3.11+dfsg-1CVE-2022-45061
Fixed in:7.3.11+dfsg-1CVE-2022-45061
CythonRocky
Fixed in:0:0.29.14-4.module+el8.4.0+8888+89bc7e79.src::python38:3.8RHSA-2023:2763
Fixed in:0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.src::python27:2.7RHSA-2023:2860
CythonRed Hat / RHEL
Fixed in:0:0.29.14-4.module+el8.4.0+8888+89bc7e79.src::python38:3.8RHSA-2023:2763
Fixed in:0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.src::python27:2.7RHSA-2023:2860
Cython-0:0.29.21Rocky
Fixed in:5.module+el8.4.0+9822+20bf1249.src::python39-devel:3.9RHSA-2023:2764
Cython-0:0.29.21Red Hat / RHEL
Fixed in:5.module+el8.4.0+9822+20bf1249.src::python39-devel:3.9RHSA-2023:2764
Cython-debugsourceRed Hat / RHEL
Fixed in:0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.x86_64::python27:2.7RHSA-2023:2860
Fixed in:0:0.29.14-4.module+el8.4.0+8888+89bc7e79.aarch64::python38:3.8RHSA-2023:2763
Fixed in:0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.aarch64::python27:2.7RHSA-2023:2860
Fixed in:0:0.29.14-4.module+el8.4.0+8888+89bc7e79.s390x::python38:3.8RHSA-2023:2763
Fixed in:0:0.29.14-4.module+el8.4.0+8888+89bc7e79.ppc64le::python38:3.8RHSA-2023:2763
Fixed in:0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.s390x::python27:2.7RHSA-2023:2860
Fixed in:0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.ppc64le::python27:2.7RHSA-2023:2860
Fixed in:0:0.29.14-4.module+el8.4.0+8888+89bc7e79.x86_64::python38:3.8RHSA-2023:2763
Cython-debugsourceRocky
Fixed in:0:0.29.14-4.module+el8.4.0+8888+89bc7e79.s390x::python38:3.8RHSA-2023:2763
Fixed in:0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.ppc64le::python27:2.7RHSA-2023:2860
Fixed in:0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.s390x::python27:2.7RHSA-2023:2860
Fixed in:0:0.29.14-4.module+el8.4.0+8888+89bc7e79.aarch64::python38:3.8RHSA-2023:2763
Fixed in:0:0.29.14-4.module+el8.4.0+8888+89bc7e79.ppc64le::python38:3.8RHSA-2023:2763
Fixed in:0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.x86_64::python27:2.7RHSA-2023:2860
Fixed in:0:0.28.1-7.module+el8.1.0+3111+de3f2d8e.aarch64::python27:2.7RHSA-2023:2860
Fixed in:0:0.29.14-4.module+el8.4.0+8888+89bc7e79.x86_64::python38:3.8RHSA-2023:2763
Cython-debugsource-0:0.29.21Red Hat / RHEL
Fixed in:5.module+el8.4.0+9822+20bf1249.x86_64::python39-devel:3.9RHSA-2023:2764
Fixed in:5.module+el8.4.0+9822+20bf1249.aarch64::python39-devel:3.9RHSA-2023:2764
Fixed in:5.module+el8.4.0+9822+20bf1249.s390x::python39-devel:3.9RHSA-2023:2764
Fixed in:5.module+el8.4.0+9822+20bf1249.ppc64le::python39-devel:3.9RHSA-2023:2764
Cython-debugsource-0:0.29.21Rocky
Fixed in:5.module+el8.4.0+9822+20bf1249.aarch64::python39-devel:3.9RHSA-2023:2764
Fixed in:5.module+el8.4.0+9822+20bf1249.ppc64le::python39-devel:3.9RHSA-2023:2764
Fixed in:5.module+el8.4.0+9822+20bf1249.s390x::python39-devel:3.9RHSA-2023:2764
Fixed in:5.module+el8.4.0+9822+20bf1249.x86_64::python39-devel:3.9RHSA-2023:2764
PyYAMLRocky
Fixed in:0:5.4.1-1.module+el8.5.0+10721+14d8e0d5.src::python38:3.8RHSA-2023:2763
Fixed in:0:5.4.1-1.module+el8.5.0+10613+59a13ec4.src::python39:3.9RHSA-2023:2764
Fixed in:0:3.12-16.module+el8.1.0+3111+de3f2d8e.src::python27:2.7RHSA-2023:2860

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

2.65%probability of exploitation in 30 days
85thpercentile

Elevated risk: more likely to be exploited than 85% of all known CVEs.

References

Related Vulnerabilities

Other CWE-407 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-27223Medium5.278%-Fix
CVE-2022-36021Medium5.561%-Fix
CVE-2021-33582High7.53.1%-Fix
CVE-2024-43485High7.53.1%-Fix
CVE-2024-43484High7.52.9%-Fix
CVE-2016-10396High7.52.9%--

Common questions

How do I fix CVE-2022-45061?

Published advisories record a fix for 660 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2022-45061 being actively exploited?

Not that we know of. CVE-2022-45061 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 2.7% is the estimated probability that it will be exploited in the next 30 days. That is higher than 85% of all scored CVEs.

How severe is CVE-2022-45061?

CVE-2022-45061 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2022-45061 affect?

Published advisories record a fix for python (Amazon), python-debug (Amazon), python-debuginfo (Amazon), python-devel (Amazon), and 656 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2022-45061
CVE-2022-45061 severity badge

Markdown

[![CVE-2022-45061](https://tridentstack.com/cve/badge/CVE-2022-45061.svg)](https://tridentstack.com/cve/CVE-2022-45061)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-45061"><img src="https://tridentstack.com/cve/badge/CVE-2022-45061.svg" alt="CVE-2022-45061"></a>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-17.