CVE Catalog

CVE-2021-3733

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
4.68%

92th percentile - higher than 92% of all known CVEs

Summary

There's a flaw in urllib's AbstractBasicAuthHandler class. An attacker who controls a malicious HTTP server that an HTTP client connects to could trigger a Regular Expression Denial of Service (ReDoS) during an authentication request with a specially crafted payload sent by the server to the client. The greatest threat is to application availability.

Risk Assessment

An attacker can cause application unavailability (DoS) by overloading the regular expression, potentially leading to service disruption.

Recommendation

Update the urllib library to a version that includes a fix for this vulnerability, or apply timeouts for regular expressions.

Other vulnerabilities in urllib

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS