CVE-2022-45061: High severity python 2.7 vulnerability

Published Nov 9, 2022
·
Updated

A vulnerability was discovered in Python. A quadratic algorithm exists when processing 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, which could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied hostname.

Other sources

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.

Python is vulnerable to a denial of service, caused by an unnecessary quadratic algorithm exists in one path when processing some inputs to the IDNA (RFC 3490) decoder. By sending a specially-crafted input, a remote attacker could exploit this vulnerability to cause a CPU denial of service condition.

IBM

Affected Software

46 affected componentsFixes available
redhat/python3<0:3.6.8-48.el8_7.1
0:3.6.8-48.el8_7.1
redhat/python3.9<0:3.9.14-1.el9_1.2
0:3.9.14-1.el9_1.2
redhat/python<3.11.1
3.11.1
redhat/python<3.10.9
3.10.9
redhat/python<3.9.16
3.9.16
redhat/python<3.8.16
3.8.16
redhat/python<3.7.16
3.7.16
debian/pypy3<=7.3.5+dfsg-2+deb11u2
7.3.5+dfsg-2+deb11u47.3.11+dfsg-2+deb12u37.3.19+dfsg-1
debian/python2.7<=2.7.18-8+deb11u1
debian/python3.11
3.11.2-6+deb12u53.11.2-6+deb12u3
debian/python3.9<=3.9.2-1
3.9.2-1+deb11u3
Python Python<=3.7.15
Python Python>=3.8.0<=3.8.15
Python Python>=3.9.0<=3.9.15
Python Python>=3.10.0<=3.10.8
Python Python=3.11.0
Python Python=3.11.0-alpha1
Python Python=3.11.0-alpha2
Python Python=3.11.0-alpha3
Python Python=3.11.0-alpha4
Python Python=3.11.0-alpha5
Python Python=3.11.0-alpha6
Python Python=3.11.0-alpha7
Python Python=3.11.0-beta1
Python Python=3.11.0-beta2
Python Python=3.11.0-beta3
Python Python=3.11.0-beta4
Python Python=3.11.0-beta5
Python Python=3.11.0-rc1
Python Python=3.11.0-rc2
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Fedoraproject Fedora=37
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Active Iq Unified Manager Windows
NetApp E-series Performance Analyzer
NetApp Element Software
NetApp Hci
NetApp Management Services For Element Software
NetApp ONTAP Select Deploy administration utility
NetApp Bootstrap Os
NetApp Hci Compute Node
All of the following
NetApp Bootstrap Os
NetApp Hci Compute Node
IBM Security Verify Access Docker<=10.0.X
IBM Security Verify Access<=10.0.X

Event History

Nov 9, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 19, 2023
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·06:02 PM
Description
Jan 18, 2025
Data Sourced
via Ubuntu·06:54 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-45061?

CVE-2022-45061 is a vulnerability discovered in Python before 3.11.1 that allows for a CPU denial of service when processing certain inputs to the IDNA decoder.

2

How severe is CVE-2022-45061?

CVE-2022-45061 is considered a high severity vulnerability with a CVSS severity score of 7.0.

3

What is the affected software?

The affected software includes Python versions 3.6.8-48.el8_7.1, 3.9.14-1.el9_1.2, and versions 3.10.0 to 3.10.8.

4

How can I fix CVE-2022-45061?

To fix CVE-2022-45061, upgrade to Python version 3.11.1 or apply the provided patches.

5

Where can I find more information about CVE-2022-45061?

You can find more information about CVE-2022-45061 in the references provided: [link1](https://github.com/python/cpython/issues/98433), [link2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2144417), [link3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2144426).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203