{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32837","published":"2023-01-17T22:15:10.533000Z","last_modified":"2026-06-17T03:53:43.880000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-1333"],"cpes":[{"criteria":"cpe:2.3:a:mechanize_project:mechanize:*:*:*:*:*:python:*:*","part":"a","vendor":"mechanize_project","product":"mechanize","version_end_excluding":"0.4.6"}],"cpes_truncated":false,"vendors":["mechanize_project"],"products":["mechanize_project/mechanize"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.28661,"percentile":0.98569,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-g3pv-pj5f-3hfq","ecosystem":"PyPI","name":"mechanize","purl":"pkg:pypi/mechanize","ranges":[{"introduced":"0","fixed":"0.4.6"}],"versions":["0.0.10a","0.0.11a","0.0.1a","0.0.8a","0.0.9a","0.1.0a","0.1.10","0.1.11","0.1.1a","0.1.2b","0.1.4b","0.1.5b","0.1.6b","0.1.7b","0.1.8","0.1.9","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5"],"versions_truncated":false},{"advisory":"PYSEC-2023-25","ecosystem":"PyPI","name":"mechanize","purl":"pkg:pypi/mechanize","ranges":[{"introduced":"0","fixed":"0.4.6"}],"versions":["0.0.10a","0.0.11a","0.0.1a","0.0.8a","0.0.9a","0.1.0a","0.1.10","0.1.11","0.1.1a","0.1.2b","0.1.4b","0.1.5b","0.1.6b","0.1.7b","0.1.8","0.1.9","0.2.0","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","v0.4.5","v0.4.4","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.3.7","v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0"],"versions_truncated":false}],"severity":"high","priority_score":63,"links":{"html_es":"/es/cve/CVE-2021-32837/","html_en":"/en/cve/CVE-2021-32837/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32837","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32837"},"untrusted":{"vendor_name":"Mechanize Project","product_name":"Mechanize","desc_en":"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.","affected":[{"untrusted_vendor":"python-mechanize","untrusted_product":"mechanize","versions":[]}],"references":[{"url":"https://github.com/python-mechanize/mechanize/blob/3acb1836f3fd8edc5a758a417dd46b53832ae3b5/mechanize/_urllib2_fork.py#L878-L879","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/python-mechanize/mechanize/commit/dd05334448e9f39814bab044d2eaa5ef69b410d6","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/python-mechanize/mechanize/releases/tag/v0.4.6","tags":["Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00022.html","tags":[]},{"url":"https://securitylab.github.com/advisories/GHSL-2021-108-python-mechanize-mechanize/","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/12/msg00028.html","tags":[]}]}}