Skip to content
Noroxi
CVE-2021-3733· NVD / CVE Program· CNA redhat

There's a flaw in urllib's AbstractBasicAuthHandler class.

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.

MediumCVSS 6.5 · v3.1—No exploit Fix available
Published
Mar 10, 2022
Updated
Oct 8, 2026
EPSS
4.7% · 92th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

27

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.7%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
pythonpython
redhatcodeready linux builder
redhatcodeready linux builder for ibm z systems
redhatcodeready linux builder for power little endian
redhatenterprise linux
redhatenterprise linux eus
redhatenterprise linux for ibm z systems
redhatenterprise linux for ibm z systems eus
redhatenterprise linux for power little endian
redhatenterprise linux for power little endian eus
redhatenterprise linux server aus
redhatenterprise linux server for power little endian update services for sap solutions

and 8 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • fedoraproject extra packages for enterprise linux7.0
  • fedoraproject fedora33
  • fedoraproject fedora34
  • fedoraproject fedora35
  • fedoraproject fedora36
  • netapp hci compute node firmwareall versions
  • netapp management services for element software and netapp hciall versions
  • netapp ontap select deploy administration utilityall versions
  • netapp solidfire, enterprise sds & hci storage nodeall versions
  • python pythonbefore 3.6.14
  • python python3.7.0 and later · before 3.7.11
  • python python3.8.0 and later · before 3.8.10
  • python python3.9.0 and later · before 3.9.5
  • python python3.10.0
  • redhat codeready linux builder8.0
  • redhat codeready linux builder for ibm z systems8.0
  • redhat codeready linux builder for power little endian8.0
  • redhat enterprise linux8.0
  • redhat enterprise linux eus8.4
  • redhat enterprise linux for ibm z systems8.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a python

    • Fixed in python v3.6.14, python v3.7.11, python v3.8.10, python v3.9.5.affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8babelbefore 2.5.1-10.module_el8.6.0+2781+fed64c132.5.1-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python-nose-docsbefore 1.3.7-31.module_el8.6.0+2781+fed64c131.3.7-31.module_el8.6.0+2781+fed64c13
AlmaLinux:8python-nose-docsbefore 1.3.7-31.module_el8.5.0+2569+5c5719bc1.3.7-31.module_el8.5.0+2569+5c5719bc
AlmaLinux:8python-psycopg2-docbefore 2.7.5-7.module_el8.6.0+2781+fed64c132.7.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python-sqlalchemy-docbefore 1.3.2-2.module_el8.6.0+2781+fed64c131.3.2-2.module_el8.6.0+2781+fed64c13
AlmaLinux:8python-sqlalchemy-docbefore 1.3.2-2.module_el8.5.0+2569+5c5719bc1.3.2-2.module_el8.5.0+2569+5c5719bc
AlmaLinux:8python2before 2.7.18-10.module_el8.6.0+2781+fed64c13.alma2.7.18-10.module_el8.6.0+2781+fed64c13.alma
AlmaLinux:8python2-attrsbefore 17.4.0-10.module_el8.6.0+2781+fed64c1317.4.0-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-babelbefore 2.5.1-10.module_el8.6.0+2781+fed64c132.5.1-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-backportsbefore 1.0-16.module_el8.6.0+2781+fed64c131.0-16.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-backports-ssl_match_hostnamebefore 3.5.0.1-12.module_el8.6.0+2781+fed64c133.5.0.1-12.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-bsonbefore 3.7.0-1.module_el8.6.0+2781+fed64c133.7.0-1.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-chardetbefore 3.0.4-10.module_el8.6.0+2781+fed64c133.0.4-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-coveragebefore 4.5.1-4.module_el8.6.0+2781+fed64c134.5.1-4.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-Cythonbefore 0.28.1-7.module_el8.6.0+2781+fed64c130.28.1-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-debugbefore 2.7.18-10.module_el8.6.0+2781+fed64c13.alma2.7.18-10.module_el8.6.0+2781+fed64c13.alma
AlmaLinux:8python2-develbefore 2.7.18-10.module_el8.6.0+2781+fed64c13.alma2.7.18-10.module_el8.6.0+2781+fed64c13.alma
AlmaLinux:8python2-dnsbefore 1.15.0-10.module_el8.6.0+2781+fed64c131.15.0-10.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-docsbefore 2.7.16-2.module_el8.6.0+2781+fed64c132.7.16-2.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-docs-infobefore 2.7.16-2.module_el8.6.0+2781+fed64c132.7.16-2.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-docutilsbefore 0.14-12.module_el8.6.0+2781+fed64c130.14-12.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-funcsigsbefore 1.0.2-13.module_el8.6.0+2781+fed64c131.0.2-13.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-idnabefore 2.5-7.module_el8.6.0+2781+fed64c132.5-7.module_el8.6.0+2781+fed64c13
AlmaLinux:8python2-ipaddressbefore 1.0.18-6.module_el8.6.0+2781+fed64c131.0.18-6.module_el8.6.0+2781+fed64c13

+96

Other highest-scoring records for the same primary product.

  • CVE-2016-5636Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 all
    47Plan
  • CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remot
    47Plan
  • CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Pyth
    46Plan
  • CVE-2014-4650The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which al
    46Plan
  • CVE-2018-1000802Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('C
    45Plan
  • CVE-2020-27619In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.
    42Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:python39-attrs20.3.0-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-cffi1.14.3-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-chardet3.0.4-19.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-cryptography3.3.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-Cython0.29.21-5.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-idna2.10-3.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-iniconfig1.1.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-mod_wsgi4.7.1-4.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-more-itertools8.5.0-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-numpy1.19.4-3.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-numpy-doc1.19.4-3.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
almalinux:python39-PyMySQL0.10.1-2.module_el8.6.0+2780+a40f65e1 · AlmaLinux:8Package registry (OSV)
debian:pypy37.3.5+dfsg-2 · Debian:12Package registry (OSV)
debian:python2.72.7.16-2+deb10u2 · Debian:10Package registry (OSV)
debian:python3.53.5.3-1+deb9u5 · Debian:9Package registry (OSV)
debian:python3.73.7.3-2+deb10u5 · Debian:10Package registry (OSV)
debian:python3.93.9.2-1+deb11u2 · Debian:11Package registry (OSV)
opensuse:python2.7.18-lp152.3.21.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:python-base2.7.18-lp152.3.21.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:python-doc2.7.18-lp152.3.21.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:python33.6.15-10.9.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:python3-core3.6.15-10.9.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:python3-documentation3.6.15-10.9.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:python393.9.10-150300.4.8.2 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:python39-core3.9.10-150300.4.8.1 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:python39-documentation3.9.10-150300.4.8.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:rh-python38-babel0:2.7.0-12.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-python38-python0:3.8.11-2.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-python38-python-babel0:2.7.0-12.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)
red hat:rh-python38-python-cryptography0:2.8-5.el7 · Red Hat:rhel_software_collections:3::el7Package registry (OSV)

+30

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Root cause

Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
function expand(node) {  return node.children.map(expand);}

Fixed

ts
const MAX_DEPTH = 32;function expand(node, depth = 0) {  if (depth > MAX_DEPTH) throw new Error("too deep");  return node.children.map((c) => expand(c, depth + 1));}

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. SSVC exploitation— → none
  2. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records