CVE-2021-32837
mechanize vulnerable to ReDoS
02 Description
mechanize vulnerable to ReDoS
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 28.87% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 97.9% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2023-01-17 00:00Z3 YR AGO
- Last updated
- 2025-12-22 01:32Z10 MO AGO
- Reserved
- 2021-05-12
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333Inefficient Regular Expression ComplexityBase
- Data version
- 5.2
- Document digest
- 2d0cb2245706e504fbe0fc0c90f3cb919f752a34e7930ef6c6facb639e402f47
05 Affected products
06 References
- securitylab.github.comhttps://securitylab.github.com/advisories/GHSL-2021-108-python-mechanize-mechanize/
- github.comhttps://github.com/python-mechanize/mechanize/blob/3acb1836f3fd8edc5a758a417dd46b53832ae3b5/mechanize/_urllib2_fork.py#L878-L879
- github.comhttps://github.com/python-mechanize/mechanize/releases/tag/v0.4.6
- github.comhttps://github.com/python-mechanize/mechanize/commit/dd05334448e9f39814bab044d2eaa5ef69b410d6
- lists.debian.org[debian-lts-announce] 20230620 [SECURITY] [DLA 3460-1] python-mechanize security updatehttps://lists.debian.org/debian-lts-announce/2023/06/msg00022.html
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2025/12/msg00028.html
07 Fixed in
Debian 12
- python-mechanize Fixed in 1:0.4.7-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- python-mechanize Fixed in 1:0.4.7-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- python-mechanize Fixed in 1:0.4.7-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- python-mechanize No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- python-mechanize No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- python-mechanize No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.