CVE-2021-32837

7.5 HIGH
Published: January 17, 2023 Modified: December 22, 2025

Description

mechanize, a library for automatically interacting with HTTP web servers, contains a regular expression that is vulnerable to regular expression denial of service (ReDoS) prior to version 0.4.6. If a web server responds in a malicious way, then mechanize could crash. Version 0.4.6 has a patch for the issue.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/python-mechanize/mechanize/commit/dd05334448e9f39814bab044d2eaa5ef69b410d6
Source: security-advisories@github.com
Patch Third Party Advisory
https://github.com/python-mechanize/mechanize/releases/tag/v0.4.6
Source: security-advisories@github.com
Third Party Advisory
https://securitylab.github.com/advisories/GHSL-2021-108-python-mechanize-mechanize/
Source: security-advisories@github.com
Exploit Third Party Advisory
https://github.com/python-mechanize/mechanize/commit/dd05334448e9f39814bab044d2eaa5ef69b410d6
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://github.com/python-mechanize/mechanize/releases/tag/v0.4.6
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://securitylab.github.com/advisories/GHSL-2021-108-python-mechanize-mechanize/
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory

11 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
3.4%
87th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

mechanize_project