CVE-2021-32837

mechanize vulnerable to ReDoS

Published Jan 17, 2023 CVSS 3.1 · 7.5 High EPSS 28.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3460-1 python-mechanize security update
Debian DLA Debian DLA DLA-4418-1 python-mechanize security update
EUVD EUVD EUVD-2023-0144 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.
Github GHSA Github GHSA GHSA-g3pv-pj5f-3hfq mechanize Regular Expression Denial of Service vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 22, 2025, 1:32 AM
Reserved
May 12, 2021, 12:00 AM
Status
Modified
Published
Jan 17, 2023, 10:15 PM
Modified
Jun 17, 2026, 3:53 AM