Vulnerabilities · 2021 · Python
CVE-2021-3733
Python vulnerability
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.
Affected products
Python, Codeready Linux Builder, Codeready Linux Builder For Ibm Z Systems, Codeready Linux Builder For Power Little Endian, Enterprise Linux, Enterprise Linux Eus, Enterprise Linux For Ibm Z Systems, Enterprise Linux For Ibm Z Systems Eus, Enterprise Linux For Power Little Endian, Enterprise Linux For Power Little Endian Eus and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.python.org/issue43075 · Exploit
- github.com/python/cpython/commit/7215d1ae25525c92b026166f9d5cac85fb · Patch
- github.com/python/cpython/pull/24391 · Patch
- ubuntu.com/security/CVE-2021-3733 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=1995234 · Third Party Advisory
- security.netapp.com/advisory/ntap-20220407-0001/ · Third Party Advisory
- lists.debian.org/debian-lts-announce/2023/05/msg00024.html
- lists.debian.org/debian-lts-announce/2023/06/msg00039.html
- nvd.nist.gov/vuln/detail/CVE-2021-3733
- cve.org/CVERecord?id=CVE-2021-3733
More vulnerabilities in Python products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.