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.
{
"unresolved_ranges": [
{
"cpe": "cpe:2.3:a:python:python:3.11.0:alpha1:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-alpha1"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:alpha2:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-alpha2"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:alpha3:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-alpha3"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:alpha4:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-alpha4"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:alpha5:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-alpha5"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:alpha6:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-alpha6"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:alpha7:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-alpha7"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:beta1:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-beta1"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:beta2:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-beta2"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:beta3:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-beta3"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:beta4:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-beta4"
}
]
},
{
"cpe": "cpe:2.3:a:python:python:3.11.0:beta5:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "3.11.0-beta5"
}
]
},
{
"cpe": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "35"
}
]
},
{
"cpe": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "36"
}
]
},
{
"cpe": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
"source": "CPE_FIELD",
"extracted_events": [
{
"last_affected": "37"
}
]
}
]
}{
"cpe": [
"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*",
"cpe:2.3:a:python:python:3.11.0:-:*:*:*:*:*:*",
"cpe:2.3:a:python:python:3.11.0:rc1:*:*:*:*:*:*",
"cpe:2.3:a:python:python:3.11.0:rc2:*:*:*:*:*:*"
],
"source": "CPE_FIELD",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "3.7.15"
},
{
"last_affected": "3.11.0-NA"
},
{
"last_affected": "3.11.0-rc1"
},
{
"last_affected": "3.11.0-rc2"
},
{
"introduced": "3.8.0"
},
{
"last_affected": "3.8.15"
},
{
"introduced": "3.9.0"
},
{
"last_affected": "3.9.15"
},
{
"introduced": "3.10.0"
},
{
"last_affected": "3.10.8"
}
]
}