# CVE-2021-3733: CVE-2021-3733: ReDoS in urllib.request

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.80%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-07T00:00:00.000Z
- Modified: 2026-10-14T10:17:47.417Z
- Also known as: PSF-2022-6, BIT-LIBPYTHON-2021-3733, BIT-PYTHON-2021-3733, BIT-PYTHON-MIN-2021-3733
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- python: Fixed in python v3.6.14, python v3.7.11, python v3.8.10, python v3.9.5.
- https://github.com/python/cpython: before 3fbe96123aeb66664fa547a8f6022efa2dc8788f; before 7215d1ae25525c92b026166f9d5cac85fb1defe1; before a21d4fbd549ec9685068a113660553d7f80d9b09; before ada14995870abddc277addf57dd690a2af04c2da; before e7654b6046090914a8323931ed759a94a5f85d60
- python python: before 3.6.14; from 3.7.0 before 3.7.11; from 3.8.0 before 3.8.10; from 3.9.0 before 3.9.5; 3.10.0
- redhat codeready_linux_builder: 8.0
- redhat codeready_linux_builder_for_ibm_z_systems: 8.0
- redhat codeready_linux_builder_for_power_little_endian: 8.0
- redhat enterprise_linux: 8.0
- redhat enterprise_linux_eus: 8.4
- redhat enterprise_linux_for_ibm_z_systems: 8.0
- redhat enterprise_linux_for_ibm_z_systems_eus: 8.4
- redhat enterprise_linux_for_power_little_endian: 8.0
- redhat enterprise_linux_for_power_little_endian_eus: 8.4
- redhat enterprise_linux_server_aus: 8.4
- redhat enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions: 8.4
- redhat enterprise_linux_server_tus: 8.4
- redhat enterprise_linux_server_update_services_for_sap_solutions: 8.4
- fedoraproject extra_packages_for_enterprise_linux: 7.0
- fedoraproject fedora: 33; 34; 35; 36
- netapp management_services_for_element_software_and_netapp_hci: no versions given
- netapp ontap_select_deploy_administration_utility: no versions given
- netapp solidfire,_enterprise_sds_&_hci_storage_node: no versions given
- netapp hci_compute_node_firmware: no versions given
- libpython (Bitnami): before 3.6.14; from 3.7.0 before 3.7.11; from 3.8.0 before 3.8.10; from 3.9.0 before 3.9.5
- python (Bitnami): before 3.6.14; from 3.7.0 before 3.7.11; from 3.8.0 before 3.8.10; from 3.9.0 before 3.9.5
- python-min (Bitnami): before 3.6.14; from 3.7.0 before 3.7.11; from 3.8.0 before 3.8.10; from 3.9.0 before 3.9.5; from 3.10.0 before 3.10.1

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugs.python.org/issue43075> (exploit, advisory, issue-tracking, patch, report, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1995234> (advisory, issue-tracking, third-party-advisory)
- <https://github.com/python/cpython/pull/24391> (advisory, patch, third-party-advisory)
- <https://ubuntu.com/security/CVE-2021-3733> (advisory, patch, third-party-advisory)
- <https://github.com/python/cpython/commit/7215d1ae25525c92b026166f9d5cac85fb> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220407-0001/> (advisory, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html> (mailing-list, web)
- <https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html> (mailing-list, web)
- <https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html> (web)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://access.redhat.com/security/cve/cve-2021-3733> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3733> (web)

## Sources

- CVE List: [CVE-2021-3733](https://www.cve.org/CVERecord?id=CVE-2021-3733), CVE Terms of Use, modified 2026-10-14
- Python Software Foundation: [PSF-2022-6](https://osv.dev/vulnerability/PSF-2022-6), CC-BY-4.0, modified 2025-10-09
- NVD: [CVE-2021-3733](https://nvd.nist.gov/vuln/detail/CVE-2021-3733), Public domain, modified 2026-10-14
- Bitnami Vulnerability Database: [BIT-LIBPYTHON-2021-3733](https://osv.dev/vulnerability/BIT-LIBPYTHON-2021-3733), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-2021-3733](https://osv.dev/vulnerability/BIT-PYTHON-2021-3733), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PYTHON-MIN-2021-3733](https://osv.dev/vulnerability/BIT-PYTHON-MIN-2021-3733), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-3733 · Whole record: https://cve.day/CVE-2021-3733.json · Rebuilt by cve.day 2026-11-25T22:58:07.157Z
