CVE-2022-45061
A public proof of concept exists; no exploitation attested.
- Published2022-11-09
- WeaknessCWE-407
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2022-11-0907:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.7 | ≤ 3.7.15 | no fix published | NVD |
| 3.8 | ≥ 3.8.0, ≤ 3.8.15 | no fix published | NVD |
| 3.9 | ≥ 3.9.0, ≤ 3.9.15 | no fix published | NVD |
| 3.10 | ≥ 3.10.0, ≤ 3.10.8 | no fix published | NVD |
| 3.11 | = 3.11.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.11 | ≥ 3.11.0, < 3.11.1 | 3.11.1 | OSV |
| 3.10 | ≥ 3.10.0, < 3.10.9 | 3.10.9 | OSV |
| 3.9 | ≥ 3.9.0, < 3.9.16 | 3.9.16 | OSV |
| 3.8 | ≥ 3.8.0, < 3.8.16 | 3.8.16 | OSV |
| 3.7 | < 3.7.16 | 3.7.16 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.11 | ≥ 3.11.0, < 3.11.1 | 3.11.1 | OSV |
| 3.10 | ≥ 3.10.0, < 3.10.9 | 3.10.9 | OSV |
| 3.9 | ≥ 3.9.0, < 3.9.16 | 3.9.16 | OSV |
| 3.8 | ≥ 3.8.0, < 3.8.16 | 3.8.16 | OSV |
| 3.7 | < 3.7.16 | 3.7.16 | OSV |
9 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- babelRocky Linux:8all versions · fixed in 0:2.5.1-10.module+el8.9.0+1531+a18208f5
- babelRocky Linux:8all versions · fixed in 0:2.7.0-11.module+el8.9.0+1418+f0d66789
- babelRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:2.5.1-10.module+el8.5.0+11014+88fc0d0band 1 other package
- babelRed Hat:enterprise_linux:8::appstreamall versions · fixed in 0:2.7.0-11.module+el8.5.0+11015+9c1c7c42and 1 other package
- babelAlmaLinux:8all versions · fixed in 2.5.1-10.module_el8.6.0+2781+fed64c13and 1 other package
- CythonRocky Linux:8all versions · fixed in 0:0.28.1-7.module+el8.10.0+40170+5f5fdfeb
- CythonRocky Linux:8all versions · fixed in 0:0.28.1-7.module+el8.9.0+1531+a18208f5
- CythonRocky Linux:8all versions · fixed in 0:0.29.14-4.module+el8.9.0+1418+f0d66789
514 more package ranges on OSV.dev
Vendor advisories
python: CPU denial of service via inefficient IDNA decoder
python as a component of Red Hat Enterprise Linux 6 · python-devel as a component of Red Hat Enterprise Linux 6 · python-libs as a component of Red Hat Enterprise Linux 6 · +36 more
Siemens SCALANCE XCM-/XRM-300
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more
SSA-806742: Multiple Vulnerabilities in SCALANCE XCM-/XRM-300 before V2.4
SCALANCE XCH328 (6GK5328-4TS01-2EC2) · SCALANCE XCM324 (6GK5324-8TS01-2AC2) · SCALANCE XCM328 (6GK5328-4TS01-2AC2) · +8 more
Red Hat Security Advisory: python3 security update
Siemens SIMATIC S7-1500
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) · +2 more
SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.0 < V3.1.5 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.0 < V3.1.5 · +2 more
6 more advisories
Fix
- Vendor fix Siemens ProductCERT SSA-806742 · 10 productsUpdate to V2.4 or later version
- Vendor fix CISA ICSA-24-046-11 · 10 productsUpdate to V2.4 or later version
- Vendor fix Red Hat Product Security RHSA-2024:0430 · 56 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix CISA ICSA-23-348-10 · 5 productsUpdate to V3.1.5 or later version
- Vendor fix Siemens ProductCERT SSA-398330 · 1 productUpdate to V3.1.5 or later version
- Mitigation from the vendor CISA ICSA-23-348-10 · 5 productsOnly build and run applications from trusted sources.
Advisories and patches
- github.comPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-05-01
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-05-01
- CISA-ADPCVSS 3.17.52025-05-01
- NVDCVSS 3.17.5read 2026-10-23
- CISA-ADPweakness (CWE)CWE-4072025-05-01
- NVDweakness (CWE)CWE-407read 2026-10-23
- FIRST EPSSEPSS score3.3 %2026-11-08
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-109644same flawAzure Linux · MIT
- AZL-11439same flawAzure Linux · MIT
- AZL-83613same flawAzure Linux · MIT
- BIT-libpython-2022-45061same flawBitnami · Apache-2.0
- BIT-python-2022-45061same flawBitnami · Apache-2.0
- BIT-python-min-2022-45061same flawBitnami · Apache-2.0
- EUVD-2022-47983same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-2mp6-9mjc-p6jgsame flawGitHub Advisory Database · CC-BY-4.0
- PSF-2022-10same flawPython Software Foundation · CC-BY-4.0
- ALSA-2023:0833advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:0953advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:2763advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:2764advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:2860advisory covering several CVEsAlmaLinux · MIT
- DLA-3432-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3477-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3966-1advisory covering several CVEsDebian · LicenseRef-unstated
- DLA-3980-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2024-0084advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2022-2102advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2024:12495-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12500-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12501-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12502-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12503-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12910-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14109-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14434-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15713-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:0833advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:0953advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:2763advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:2764advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:2860advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:6793advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2024:0430advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2023:0833advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:0953advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:2763advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:2764advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:2860advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2022:4004-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:4071-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:4251-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:4258-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2022:4275-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0213-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0549-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0616-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2023:0707-1advisory covering several CVEsSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-11-09
- Last Modified
- 2026-10-14
- NVD status
- Modified
- GitHub Advisory
- GHSA-2mp6-9mjc-p6jg
Frequently asked questions
What is CVE-2022-45061?
Is CVE-2022-45061 actively exploited?
What is the CVSS score for CVE-2022-45061?
Running Python? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2mp6-9mjc-p6jg
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- Siemens ProductCERT (CSAF) · TLP:WHITE (commercial use and redistribution granted)
- CISA Vulnrichment · CC0-1.0