Vulnerability in Mechanize Project
CVE-2021-32837
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.289 (98.1th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.289 · newest: 0.289 · change: 0.000
Affected products
- Mechanize Project
- Python-Mechanize Mechanize — versions 0.4.6
Weakness classification (CWE)
References
- securitylab.github.com/advisories/GHSL-2021-108-python-mechanize-mechanize/ (Exploit, Third Party Advisory)
- github.com/python-mechanize/mechanize/blob/3acb1836f3fd8edc5a758a417dd46b53832a… (Exploit, Third Party Advisory)
- github.com/python-mechanize/mechanize/releases/tag/v0.4.6 (Third Party Advisory)
- github.com/python-mechanize/mechanize/commit/dd05334448e9f39814bab044d2eaa5ef69… (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/06/msg00022.html (mailing-list)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2021-32837?
- CVE-2021-32837 is a high-severity vulnerability in Mechanize Project, classified under Inefficient Regular Expression Complexity. CVSS score: 7.5/10. Published 2023-01-17.
- How severe is CVE-2021-32837?
- High severity. CVSS v3 base score is 7.5 out of 10.