There’s a flaw in urllib’s AbstractBasicAuthHandler class. An attacker who controls a malicious HTTP server that an HTTP client (such as web browser) connects to, could trigger a Regular Expression Denial of Service (ReDOS) during an authentication request with a specially crafted payload that is sent by the server to the client. The greatest threat that this flaw poses is to application availability.
[
{
"vendor": "n/a",
"product": "python",
"versions": [
{
"version": "Fixed in python v3.6.14, python v3.7.11, python v3.8.10, python v3.9.5.",
"status": "affected"
}
]
}
]
bugs.python.org/issue43075
bugzilla.redhat.com/show_bug.cgi?id=1995234
github.com/python/cpython/commit/7215d1ae25525c92b026166f9d5cac85fb
github.com/python/cpython/pull/24391
lists.debian.org/debian-lts-announce/2023/05/msg00024.html
lists.debian.org/debian-lts-announce/2023/06/msg00039.html
security.netapp.com/advisory/ntap-20220407-0001/
ubuntu.com/security/CVE-2021-3733