Bug 2144072 (CVE-2022-45061) - CVE-2022-45061 Python: CPU denial of service via inefficient IDNA decoder
Summary: CVE-2022-45061 Python: CPU denial of service via inefficient IDNA decoder
Keywords:
Status: NEW
Alias: CVE-2022-45061
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2144426 2144428 2145064 2145065 2145071 2145073 2145075 2145076 2145077 2145078 2144416 2144417 2144418 2144419 2144420 2144421 2144422 2144423 2144424 2144425 2144429 2144430 2145066 2145067 2145068 2145069 2145070 2145072 2145074
Blocks: 2143956
TreeView+ depends on / blocked
 
Reported: 2022-11-18 21:19 UTC by Zack Miele
Modified: 2022-12-08 20:02 UTC (History)
4 users (show)

Fixed In Version: python 3.11.1, python 3.10.9, python 3.9.16, python 3.8.16, python 3.7.16
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Zack Miele 2022-11-18 21:19:15 UTC
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.

https://github.com/python/cpython/issues/98433

Comment 1 Sandipan Roy 2022-11-21 08:49:09 UTC
Created mingw-python3 tracking bugs for this issue:

Affects: fedora-all [bug 2144417]


Created pypy tracking bugs for this issue:

Affects: epel-7 [bug 2144426]
Affects: fedora-all [bug 2144428]


Created pypy3.8 tracking bugs for this issue:

Affects: fedora-all [bug 2144429]


Created pypy3.9 tracking bugs for this issue:

Affects: fedora-all [bug 2144430]


Created python2.7 tracking bugs for this issue:

Affects: fedora-all [bug 2144418]


Created python3.10 tracking bugs for this issue:

Affects: fedora-all [bug 2144419]


Created python3.11 tracking bugs for this issue:

Affects: fedora-all [bug 2144420]


Created python3.12 tracking bugs for this issue:

Affects: fedora-all [bug 2144421]


Created python3.6 tracking bugs for this issue:

Affects: fedora-all [bug 2144422]


Created python3.7 tracking bugs for this issue:

Affects: fedora-all [bug 2144423]


Created python3.8 tracking bugs for this issue:

Affects: fedora-all [bug 2144424]


Created python3.9 tracking bugs for this issue:

Affects: fedora-all [bug 2144425]


Created python34 tracking bugs for this issue:

Affects: epel-all [bug 2144416]


Note You need to log in before you can comment on or make changes to this bug.