Skip to content
Fencer Vulns
high 7.5

CVE-2022-45061 json

An issue was discovered in Python before 3.11.1.

published 2022-11-09 4 y ago modified 2026-10-14 25 d ago also BIT-libpython-2022-45061 , BIT-python-2022-45061 , BIT-python-min-2022-45061 , EUVD-2022-47983

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.3%
EPSS 3.3% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami libpython 3.7.16, 3.8.16, 3.9.16, 3.10.9, 3.11.1
  • bitnami python 3.7.16, 3.8.16, 3.9.16, 3.10.9, 3.11.1
  • bitnami python-min 3.7.16, 3.8.16, 3.9.16, 3.10.9, 3.11.1
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • pypy3 Debian 14, Debian 13, Debian 12 7.3.11+dfsg-1
  • python3.11 Debian 12 3.11.1-1

debian advisories DEBIAN-CVE-2022-45061

  • python2.7 Ubuntu 18.04 LTS 2.7.17-1~18.04ubuntu1.10
  • python3.6 Ubuntu 18.04 LTS 3.6.9-1~18.04ubuntu1.9
  • python3.8 Ubuntu 20.04 LTS 3.8.10-0ubuntu1~20.04.6
  • python3.10 Ubuntu 22.04 LTS 3.10.6-1~22.04.2
  • python2.7 Ubuntu Pro 14.04 LTS 2.7.6-8ubuntu0.6+esm13
  • python2.7 Ubuntu Pro 16.04 LTS 2.7.12-1ubuntu0~16.04.18+esm3
  • python2.7 Ubuntu Pro 20.04 LTS 2.7.18-1~20.04.7+esm4
  • python2.7 Ubuntu Pro 22.04 LTS 2.7.18-13ubuntu1.5+esm3

ubuntu advisories UBUNTU-CVE-2022-45061

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-python38-python RHEL 3 SOFTWARE_COLLECTIONS 3.8.18-2.el7
  • rh-python38-python-pip RHEL 3 SOFTWARE_COLLECTIONS 19.3.1-4.el7
  • rh-python38-python-idle RHEL 3 SOFTWARE_COLLECTIONS 3.8.18-2.el7
  • rh-python38-python-libs RHEL 3 SOFTWARE_COLLECTIONS 3.8.18-2.el7
  • rh-python38-python-test RHEL 3 SOFTWARE_COLLECTIONS 3.8.18-2.el7
  • rh-python38-python-wheel RHEL 3 SOFTWARE_COLLECTIONS 0.33.6-9.el7
  • rh-python38-python-tkinter RHEL 3 SOFTWARE_COLLECTIONS 3.8.18-2.el7
  • rh-python38-python-requests RHEL 3 SOFTWARE_COLLECTIONS 2.22.0-11.el7

red hat advisories RHSA-2023:6793RHSA-2024:0430RHSA-2023:2764RHSA-2023:2763RHSA-2023:0833RHSA-2023:2860

  • python310 SLE Module for Python 3 15 SP4, openSUSE Leap 15.4 3.10.10-150400.4.22.1
  • python310-core SLE Module for Python 3 15 SP4, openSUSE Leap 15.4 3.10.10-150400.4.22.1
  • python310-documentation openSUSE Leap 15.4 3.10.10-150400.4.22.1
  • python SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +13 more 2.7.18-150000.48.1
  • python-base SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +14 more 2.7.18-150000.48.1
  • python39 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +6 more 3.9.16-150300.4.24.1
  • python39-core SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +6 more 3.9.16-150300.4.24.1
  • python39-documentation openSUSE Leap 15.4 3.9.16-150300.4.24.1

suse advisories SUSE-SU-2023:0748-1SUSE-SU-2023:0724-1SUSE-SU-2023:0707-1SUSE-SU-2023:0616-1SUSE-SU-2023:0549-1SUSE-SU-2023:0213-1

  • python315 openSUSE Tumbleweed 3.15.0~a1-1.1
  • python314 openSUSE Tumbleweed 3.14.0~a1-1.1
  • python313 openSUSE Tumbleweed 3.13.0~b3-1.1
  • python311 openSUSE Tumbleweed 3.11.0-2.1
  • python openSUSE Tumbleweed 2.7.18-25.1
  • python310 openSUSE Tumbleweed 3.10.8-3.1
  • python38 openSUSE Tumbleweed 3.8.15-4.1
  • python39 openSUSE Tumbleweed 3.9.15-3.1

opensuse advisories openSUSE-SU-2025:15713-1openSUSE-SU-2024:14434-1openSUSE-SU-2024:14109-1openSUSE-SU-2024:12495-1openSUSE-SU-2024:12500-1openSUSE-SU-2024:12501-1

  • python38 AlmaLinux 8 3.8.16-1.module_el8.8.0+3482+d5d93a3e
  • python38-py AlmaLinux 8 1.8.0-8.module_el8.6.0+2778+cd494b30
  • python38-pip AlmaLinux 8 19.3.1-6.module_el8.7.0+3344+99a6a656
  • python38-ply AlmaLinux 8 3.11-10.module_el8.6.0+2778+cd494b30
  • python38-six AlmaLinux 8 1.12.0-10.module_el8.6.0+2778+cd494b30
  • python38-cffi AlmaLinux 8 1.13.2-3.module_el8.6.0+2778+cd494b30
  • python38-cffi AlmaLinux 8 1.13.2-3.module_el8.6.0+3163+f4472775
  • python38-idle AlmaLinux 8 3.8.16-1.module_el8.8.0+3482+d5d93a3e

almalinux advisories ALSA-2023:2763ALSA-2023:2764ALSA-2023:2860ALSA-2023:0953ALSA-2023:0833

  • babel Rocky Linux 8 2.5.1-10.module+el8.9.0+1531+a18208f5
  • numpy Rocky Linux 8 1:1.14.2-16.module+el8.9.0+1531+a18208f5
  • numpy Rocky Linux 8 1:1.14.2-16.module+el8.10.0+40170+5f5fdfeb
  • scipy Rocky Linux 8 1.0.0-21.module+el8.10.0+1592+61442852
  • scipy Rocky Linux 8 1.0.0-21.module+el8.10.0+1910+234ad790
  • Cython Rocky Linux 8 0.28.1-7.module+el8.10.0+40170+5f5fdfeb
  • Cython Rocky Linux 8 0.28.1-7.module+el8.9.0+1531+a18208f5
  • pytest Rocky Linux 8 3.4.2-13.module+el8.9.0+1531+a18208f5

rocky linux advisories RLSA-2023:2860RLSA-2023:2763RLSA-2023:2764RLSA-2023:0953RLSA-2023:0833

  • python3 Alpine 3.15, Alpine 3.14 3.9.16-r0
  • python3 Alpine 3.17, Alpine 3.16 3.10.9-r0
  • python3 Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 3.11.1-r0

alpine advisories ALPINE-CVE-2022-45061

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python3 CBL-Mariner 2.0 3.9.14-5

azure linux advisories AZL-11439

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-45061 updated cvss 7.5

python: CPU denial of service via inefficient IDNA decoder

  • Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 more
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 python2, python2-libs, python2-test, python2-tools, python2-tkinter
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat CodeReady Linux Builder (v. 9) python3 3.9.14-1.el9_1.2, python3-idle 3.9.14-1.el9_1.2, python3-test 3.9.14-1.el9_1.2, python3-tkinter 3.9.14-1.el9_1.2
    fixed: vendor fix RHSA-2023:0953
  • Red Hat Enterprise Linux AppStream (v. 8) python3-idle 3.6.8-48.el8_7.1, python3-test 3.6.8-48.el8_7.1, platform-python 3.6.8-48.el8_7.1, python3-tkinter 3.6.8-48.el8_7.1, pytz 2019.3-3.module+el8.4.0+8888+89bc7e79, scipy 1.3.1-4.module+el8.4.0+8888+89bc7e79, +207 more
    fixed: vendor fix RHSA-2023:0833
  • Red Hat Enterprise Linux AppStream (v. 9) python3-tkinter 3.9.14-1.el9_1.2, python-unversioned-command 3.9.14-1.el9_1.2
    fixed: vendor fix RHSA-2023:0953
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) python3-idle 3.6.8-47.el8_6.4, python3-test 3.6.8-47.el8_6.4, platform-python 3.6.8-47.el8_6.4, python3-tkinter 3.6.8-47.el8_6.4
    fixed: vendor fix RHSA-2024:0430
  • Red Hat Enterprise Linux BaseOS (v. 8) python3 3.6.8-48.el8_7.1, python3-libs 3.6.8-48.el8_7.1, python3-test 3.6.8-48.el8_7.1, platform-python 3.6.8-48.el8_7.1
    fixed: vendor fix RHSA-2023:0833
  • Red Hat Enterprise Linux BaseOS (v. 9) python3 3.9.14-1.el9_1.2, python3.9 3.9.14-1.el9_1.2, python3-libs 3.9.14-1.el9_1.2
    fixed: vendor fix RHSA-2023:0953
show 4 more
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) python3 3.6.8-47.el8_6.4, python3-libs 3.6.8-47.el8_6.4, python3-test 3.6.8-47.el8_6.4, platform-python 3.6.8-47.el8_6.4
    fixed: vendor fix RHSA-2024:0430
  • Red Hat Enterprise Linux CRB (v. 8) pytest 4.6.6-3.module+el8.4.0+8888+89bc7e79, pytest 6.0.2-2.module+el8.4.0+9822+20bf1249, Cython 0.29.21-5.module+el8.4.0+9822+20bf1249, pybind11 2.7.1-1.module+el8.6.0+12838+640e6226, python-py 1.8.0-8.module+el8.4.0+8888+89bc7e79, python-py 1.10.0-1.module+el8.4.0+9822+20bf1249, +34 more
    fixed: vendor fix RHSA-2023:2763
  • Red Hat Software Collections for RHEL Workstation(v. 7) rh-python38-python 3.8.18-2.el7, rh-python38-python-idle 3.8.18-2.el7, rh-python38-python-libs 3.8.18-2.el7, rh-python38-python-test 3.8.18-2.el7, rh-python38-python-tkinter 3.8.18-2.el7, rh-python38-python-rpm-macros 3.8.18-2.el7, +1 more Red Hat Software Collections for RHEL(v. 7) rh-python38-python 3.8.18-2.el7, rh-python38-python-idle 3.8.18-2.el7, rh-python38-python-libs 3.8.18-2.el7, rh-python38-python-test 3.8.18-2.el7, rh-python38-python-tkinter 3.8.18-2.el7, rh-python38-python-rpm-macros 3.8.18-2.el7, +1 more
    fixed: vendor fix RHSA-2023:6793
  • Red Hat Enterprise Linux 8 scipy, python36, python-nose, python-wheel, python3-bson, python3-nose, +19 more Red Hat Software Collections for RHEL Workstation(v. 7) rh-python38-python-pip 19.3.1-4.el7, rh-python38-python-wheel 0.33.6-9.el7, rh-python38-python-cryptography 2.8-6.el7, rh-python38-python-pip-wheel 19.3.1-4.el7, rh-python38-python-requests 2.22.0-11.el7, rh-python38-python-setuptools 41.6.0-8.el7, +2 more Red Hat Software Collections for RHEL(v. 7) rh-python38-python-pip 19.3.1-4.el7, rh-python38-python-wheel 0.33.6-9.el7, rh-python38-python-cryptography 2.8-6.el7, rh-python38-python-pip-wheel 19.3.1-4.el7, rh-python38-python-requests 2.22.0-11.el7, rh-python38-python-setuptools 41.6.0-8.el7, +2 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-348-10 updated cvss 7.5

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-24-046-11 updated cvss 7.5

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

3.33% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/python/cpython/issues/98433 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
bitnami libpython
<3.7.16
>=3.10.0, <3.10.9
>=3.11.0, <3.11.1
>=3.8.0, <3.8.16
>=3.9.0, <3.9.16
3.7.16
3.10.9
3.11.1
3.8.16
3.9.16
bitnami python
<3.7.16
>=3.10.0, <3.10.9
>=3.11.0, <3.11.1
>=3.8.0, <3.8.16
>=3.9.0, <3.9.16
3.7.16
3.10.9
3.11.1
3.8.16
3.9.16
bitnami python-min
<3.7.16
>=3.10.0, <3.10.9
>=3.11.0, <3.11.1
>=3.8.0, <3.8.16
>=3.9.0, <3.9.16
3.7.16
3.10.9
3.11.1
3.8.16
3.9.16

Affected products

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-407 Inefficient Algorithmic Complexity

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Improve version ranges to indicate fix.