CVE-2022-45061

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-45061
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45061.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-45061
Aliases
Related
Published
2022-11-09T07:15:09Z
Modified
2024-09-18T03:22:08.260841Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.14 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.16-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0
3.9.4-r0
3.9.5-r0
3.9.5-r1
3.9.5-r2
3.9.15-r0

Alpine:v3.15 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.16-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0
3.9.4-r0
3.9.5-r0
3.9.5-r1
3.9.6-r0
3.9.6-r1
3.9.6-r2
3.9.7-r2
3.9.7-r3
3.9.7-r4
3.9.13-r0
3.9.13-r1
3.9.15-r0

Alpine:v3.16 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.10.9-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0
3.9.4-r0
3.9.5-r0
3.9.5-r1
3.9.6-r0
3.9.6-r1
3.9.6-r2
3.9.7-r2
3.9.7-r3
3.9.7-r4
3.10.0-r0
3.10.0-r1
3.10.1-r0
3.10.2-r0
3.10.2-r1
3.10.3-r0
3.10.3-r1
3.10.4-r0
3.10.5-r0
3.10.8-r0

Alpine:v3.17 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.10.9-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0
3.9.4-r0
3.9.5-r0
3.9.5-r1
3.9.6-r0
3.9.6-r1
3.9.6-r2
3.9.7-r2
3.9.7-r3
3.9.7-r4
3.10.0-r0
3.10.0-r1
3.10.1-r0
3.10.2-r0
3.10.2-r1
3.10.3-r0
3.10.3-r1
3.10.4-r0
3.10.5-r0
3.10.5-r1
3.10.5-r2
3.10.6-r0
3.10.6-r1
3.10.7-r0
3.10.8-r0
3.10.8-r1
3.10.8-r2
3.10.8-r3

Alpine:v3.18 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.11.1-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0
3.9.4-r0
3.9.5-r0
3.9.5-r1
3.9.6-r0
3.9.6-r1
3.9.6-r2
3.9.7-r2
3.9.7-r3
3.9.7-r4
3.10.0-r0
3.10.0-r1
3.10.1-r0
3.10.2-r0
3.10.2-r1
3.10.3-r0
3.10.3-r1
3.10.4-r0
3.10.5-r0
3.10.5-r1
3.10.5-r2
3.10.6-r0
3.10.6-r1
3.10.7-r0
3.10.8-r0
3.10.8-r1
3.10.8-r2
3.10.8-r3
3.11.0-r0
3.11.0-r1
3.11.0-r2

Alpine:v3.19 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.11.1-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
3.3.2-r0
3.3.3-r0
3.3.4-r0
3.4.1-r0
3.4.2-r0
3.4.2-r1
3.4.3-r1
3.4.3-r2
3.5.0-r0
3.5.1-r0
3.5.1-r1
3.5.1-r2
3.5.1-r3
3.5.2-r0
3.5.2-r1
3.5.2-r2
3.5.2-r3
3.5.2-r4
3.5.2-r5
3.5.2-r6
3.5.2-r7
3.5.2-r8
3.5.2-r9
3.5.2-r10
3.6.0-r0
3.6.1-r0
3.6.1-r1
3.6.1-r2
3.6.1-r3
3.6.1-r4
3.6.2-r0
3.6.2-r1
3.6.2-r2
3.6.2-r3
3.6.3-r3
3.6.3-r4
3.6.3-r5
3.6.3-r6
3.6.3-r7
3.6.3-r8
3.6.3-r9
3.6.4-r0
3.6.4-r1
3.6.6-r0
3.6.6-r1
3.6.6-r2
3.6.6-r3
3.6.7-r0
3.6.8-r0
3.6.8-r1
3.6.8-r2
3.7.2-r0
3.7.3-r0
3.7.3-r1
3.7.4-r0
3.7.5-r0
3.7.5-r1
3.8.0-r0
3.8.1-r0
3.8.1-r1
3.8.1-r2
3.8.1-r3
3.8.2-r0
3.8.2-r1
3.8.2-r2
3.8.2-r3
3.8.2-r4
3.8.2-r5
3.8.2-r6
3.8.2-r7
3.8.3-r0
3.8.4-r0
3.8.5-r0
3.8.5-r1
3.8.5-r2
3.8.6-r0
3.8.7-r0
3.8.7-r1
3.8.7-r2
3.8.7-r3
3.8.8-r0
3.9.1-r0
3.9.2-r0
3.9.4-r0
3.9.5-r0
3.9.5-r1
3.9.6-r0
3.9.6-r1
3.9.6-r2
3.9.7-r2
3.9.7-r3
3.9.7-r4
3.10.0-r0
3.10.0-r1
3.10.1-r0
3.10.2-r0
3.10.2-r1
3.10.3-r0
3.10.3-r1
3.10.4-r0
3.10.5-r0
3.10.5-r1
3.10.5-r2
3.10.6-r0
3.10.6-r1
3.10.7-r0
3.10.8-r0
3.10.8-r1
3.10.8-r2
3.10.8-r3
3.11.0-r0
3.11.0-r1
3.11.0-r2

Alpine:v3.20 / python3

Package

Name
python3
Purl
pkg:apk/alpine/python3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.11.1-r0

Affected versions

3.*

3.1.3-r0
3.2.0-r0
3.2.3-r0
3.3.0-r0
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pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*

7.3.5+dfsg-2
7.3.5+dfsg-2+deb11u1
7.3.5+dfsg-2+deb11u2
7.3.6~rc2+dfsg-1
7.3.6~rc2+dfsg-2
7.3.6+dfsg-1
7.3.7+dfsg-1
7.3.7+dfsg-2
7.3.7+dfsg-3
7.3.7+dfsg-4
7.3.7+dfsg-5
7.3.8~rc1+dfsg-1
7.3.8~rc1+dfsg-2
7.3.8+dfsg-1
7.3.8+dfsg-2
7.3.9+dfsg-1
7.3.9+dfsg-2
7.3.9+dfsg-3
7.3.9+dfsg-4
7.3.9+dfsg-5
7.3.10~rc3+dfsg-1
7.3.10~rc3+dfsg-2
7.3.10+dfsg-1
7.3.11+dfsg-1
7.3.11+dfsg-2
7.3.12~rc1+dfsg-1
7.3.12~rc2+dfsg-1
7.3.12+dfsg-1
7.3.13+dfsg-1
7.3.14+dfsg-1
7.3.15+dfsg-1
7.3.16+dfsg-1
7.3.16+dfsg-2
7.3.17+dfsg-1
7.3.17+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.11+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / pypy3

Package

Name
pypy3
Purl
pkg:deb/debian/pypy3?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.3.11+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / python2.7

Package

Name
python2.7
Purl
pkg:deb/debian/python2.7?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.7.18-8
2.7.18-8+deb11u1
2.7.18-9
2.7.18-10
2.7.18-11
2.7.18-12
2.7.18-13
2.7.18-13.1~exp1
2.7.18-13.1
2.7.18-13.2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / python3.11

Package

Name
python3.11
Purl
pkg:deb/debian/python3.11?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.11.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / python3.9

Package

Name
python3.9
Purl
pkg:deb/debian/python3.9?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.9.2-1
3.9.3-1
3.9.3-2
3.9.4-1
3.9.5-1
3.9.5-2
3.9.5-3
3.9.6-1
3.9.7-1
3.9.7-2
3.9.7-4
3.9.8-1
3.9.8-2
3.9.9-1
3.9.9-2
3.9.9-3
3.9.9-4
3.9.10-1
3.9.10-2
3.9.11-1
3.9.12-1
3.9.13-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}