An issue was discovered in Python before 3.11.1.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 10 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-407.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 28
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | up to 3.7.15; 3.8.0 – 3.8.15; 3.9.0 – 3.9.15; 3.10.0 – 3.10.8 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:-:*:*:*:*:*:* | 3.11.0 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:alpha1:*:*:*:*:*:* | 3.11.0 alpha1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:alpha2:*:*:*:*:*:* | 3.11.0 alpha2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:alpha3:*:*:*:*:*:* | 3.11.0 alpha3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:alpha4:*:*:*:*:*:* | 3.11.0 alpha4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:alpha5:*:*:*:*:*:* | 3.11.0 alpha5 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:alpha6:*:*:*:*:*:* | 3.11.0 alpha6 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:alpha7:*:*:*:*:*:* | 3.11.0 alpha7 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:beta1:*:*:*:*:*:* | 3.11.0 beta1 | Vulnerable | python-pillow |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions up to 3.7.15; 3.8.0 – 3.8.15; 3.9.0 – 3.9.15; 3.10.0 – 3.10.8 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:-:*:*:*:*:*:* Versions 3.11.0 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:alpha1:*:*:*:*:*:* Versions 3.11.0 alpha1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:alpha2:*:*:*:*:*:* Versions 3.11.0 alpha2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:alpha3:*:*:*:*:*:* Versions 3.11.0 alpha3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:alpha4:*:*:*:*:*:* Versions 3.11.0 alpha4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:alpha5:*:*:*:*:*:* Versions 3.11.0 alpha5 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:alpha6:*:*:*:*:*:* Versions 3.11.0 alpha6 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:alpha7:*:*:*:*:*:* Versions 3.11.0 alpha7 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:beta1:*:*:*:*:*:* Versions 3.11.0 beta1 Vulnerable ·python-pillow
Show 18 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:3.11.0:beta2:*:*:*:*:*:* | 3.11.0 beta2 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:beta3:*:*:*:*:*:* | 3.11.0 beta3 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:beta4:*:*:*:*:*:* | 3.11.0 beta4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:beta5:*:*:*:*:*:* | 3.11.0 beta5 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:rc1:*:*:*:*:*:* | 3.11.0 rc1 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.11.0:rc2:*:*:*:*:*:* | 3.11.0 rc2 | Vulnerable | python-pillow |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 36 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* | 37 | Vulnerable | Fedoraproject |
| cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:element_software:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:hci:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
- cpe:2.3:a:python:python:3.11.0:beta2:*:*:*:*:*:* Versions 3.11.0 beta2 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:beta3:*:*:*:*:*:* Versions 3.11.0 beta3 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:beta4:*:*:*:*:*:* Versions 3.11.0 beta4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:beta5:*:*:*:*:*:* Versions 3.11.0 beta5 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:rc1:*:*:*:*:*:* Versions 3.11.0 rc1 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.11.0:rc2:*:*:*:*:*:* Versions 3.11.0 rc2 Vulnerable ·python-pillow
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
- cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:element_software:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:hci:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
Remediation
Red Hat 7 advisories
- RHSA-2024:0430 Released 2024-01-25 · Red Hat rating Moderatepython3 security update
- Red Hat Enterprise Linux AppStream EUS (v.8.6) platform-python-3.6.8-47.el8_6.4, platform-python-debug-3.6.8-47.el8_6.4, platform-python-devel-3.6.8-47.el8_6.4 +3
- Red Hat Enterprise Linux BaseOS EUS (v.8.6) platform-python-3.6.8-47.el8_6.4, python3-3.6.8-47.el8_6.4, python3-libs-3.6.8-47.el8_6.4 +1
- RHSA-2023:6793 Released 2023-11-08 · Red Hat rating Importantrh-python38-python security update
- Red Hat Software Collections for RHEL Workstation(v. 7) rh-python38-python-3.8.18-2.el7, rh-python38-python-cryptography-2.8-6.el7, rh-python38-python-debug-3.8.18-2.el7 +14
- Red Hat Software Collections for RHEL(v. 7) rh-python38-python-3.8.18-2.el7, rh-python38-python-cryptography-2.8-6.el7, rh-python38-python-debug-3.8.18-2.el7 +14
- RHSA-2023:2763 Released 2023-05-16 · Red Hat rating Moderatepython38:3.8 and python38-devel:3.8 security update
- Red Hat Enterprise Linux AppStream (v. 8) Cython-0.29.14-4.module+el8.4.0+8888+89bc7e79.src::python38:3.8, PyYAML-5.4.1-1.module+el8.5.0+10721+14d8e0d5.src::python38:3.8, babel-2.7.0-11.module+el8.5.0+11015+9c1c7c42.src::python38:3.8 +47
- Red Hat Enterprise Linux CRB (v. 8) pytest-4.6.6-3.module+el8.4.0+8888+89bc7e79.src::python38-devel:3.8, python-atomicwrites-1.3.0-8.module+el8.4.0+8888+89bc7e79.src::python38-devel:3.8, python-attrs-19.3.0-3.module+el8.4.0+8888+89bc7e79.src::python38-devel:3.8 +15
Show 4 more Red Hat advisories
- RHSA-2023:2860 Released 2023-05-16 · Red Hat rating Moderatepython27:2.7 security update
- Red Hat Enterprise Linux AppStream (v. 8) Cython-0.28.1-7.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, PyYAML-3.12-16.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, babel-2.5.1-10.module+el8.5.0+11014+88fc0d0b.noarch::python27:2.7 +47
- RHSA-2023:2764 Released 2023-05-16 · Red Hat rating Moderatepython39:3.9 and python39-devel:3.9 security update
- Red Hat Enterprise Linux AppStream (v. 8) PyYAML-5.4.1-1.module+el8.5.0+10613+59a13ec4.src::python39:3.9, mod_wsgi-4.7.1-5.module+el8.7.0+16654+645aad7f.src::python39:3.9, numpy-1.19.4-3.module+el8.5.0+12204+54860423.src::python39:3.9 +47
- Red Hat Enterprise Linux CRB (v. 8) Cython-0.29.21-5.module+el8.4.0+9822+20bf1249.src::python39-devel:3.9, pybind11-2.7.1-1.module+el8.6.0+12838+640e6226.src::python39-devel:3.9, pytest-6.0.2-2.module+el8.4.0+9822+20bf1249.src::python39-devel:3.9 +33
- RHSA-2023:0953 Released 2023-02-28 · Red Hat rating Moderatepython3.9 security update
- Red Hat CodeReady Linux Builder (v. 9) python3-3.9.14-1.el9_1.2, python3-debug-3.9.14-1.el9_1.2, python3-idle-3.9.14-1.el9_1.2 +2
- Red Hat Enterprise Linux AppStream (v. 9) python-unversioned-command-3.9.14-1.el9_1.2, python3-devel-3.9.14-1.el9_1.2, python3-tkinter-3.9.14-1.el9_1.2
- Red Hat Enterprise Linux BaseOS (v. 9) python3-3.9.14-1.el9_1.2, python3-libs-3.9.14-1.el9_1.2, python3.9-3.9.14-1.el9_1.2
- RHSA-2023:0833 Released 2023-02-21 · Red Hat rating Moderatepython3 security update
- Red Hat Enterprise Linux AppStream (v. 8) platform-python-3.6.8-48.el8_7.1, platform-python-debug-3.6.8-48.el8_7.1, platform-python-devel-3.6.8-48.el8_7.1 +3
- Red Hat Enterprise Linux BaseOS (v. 8) platform-python-3.6.8-48.el8_7.1, python3-3.6.8-48.el8_7.1, python3-libs-3.6.8-48.el8_7.1 +1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2023:0953 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:0833, RHSA-2023:2763, RHSA-2023:2764, RHSA-2023:2860 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:0953 |
| Red Hat Enterprise Linux AppStream EUS (v.8.6) | Fixed | RHSA-2024:0430 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2023:0833 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:0953 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.6) | Fixed | RHSA-2024:0430 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2023:2763, RHSA-2023:2764 |
| Red Hat Software Collections for RHEL Workstation(v. 7) | Fixed | RHSA-2023:6793 |
| Red Hat Software Collections for RHEL(v. 7) | Fixed | RHSA-2023:6793 |
Not affected: 3 products
- Red Hat Enterprise Linux 8
- Red Hat Software Collections for RHEL Workstation(v. 7)
- Red Hat Software Collections for RHEL(v. 7)
Timeline
- 2026-10-02 Threatist record created from CVE-2022-45061
- 2026-10-03 Alias added: GHSA-2mp6-9mjc-p6jg
References
Advisory 31
- FEDORA-2022-45d2cfdfa4
- FEDORA-2022-3e859b6bc6
- FEDORA-2022-e1ce71ff40
- FEDORA-2022-fdb2739feb
- https://security.netapp.com/advisory/ntap-20221209-0007/
- FEDORA-2022-6f4e6120d7
- FEDORA-2022-e6d0495206
- FEDORA-2022-6d51289820
- FEDORA-2022-50deb53896
- FEDORA-2022-93c6916349
- FEDORA-2022-18b234c18b
- FEDORA-2022-de755fd092
- FEDORA-2022-fd3771db30
- FEDORA-2022-6b8b96f883
- FEDORA-2022-3d7e44dbd5
- FEDORA-2022-b2f06fbb62
- FEDORA-2022-6ba889e0e3
- FEDORA-2022-dbb811d203
- FEDORA-2022-e699dd5247
- FEDORA-2022-fbf6a320fe
- FEDORA-2022-bcf089dd07
- FEDORA-2023-a990c93ed0
- FEDORA-2023-78b4ce2f23
- FEDORA-2023-af5206f71d
- FEDORA-2023-943556a733
- FEDORA-2023-097dd40685
- FEDORA-2023-f1381c83af
- GLSA-202305-02
- FEDORA-2023-129178fd27
- FEDORA-2023-c43a940a93
- FEDORA-2023-5460cf6dfb
Sources
- CVE-2022-45061 · CVE Program
- CVE-2022-45061 · NVD
- FIRST EPSS
- GHSA-2mp6-9mjc-p6jg · GitHub Advisory Database · CC BY 4.0
- CVE-2022-45061 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences