CVE-2021-32837 mechanize vulnerable to ReDoS
HighCVSS 7.5
EPSS 28.7%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 9 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/python-mechanize(Debian 12) | < 1:0.4.7-1 | 1:0.4.7-1 | Fixed |
| debian/python-mechanize(Debian 13) | < 1:0.4.7-1 | 1:0.4.7-1 | Fixed |
| debian/python-mechanize(Debian 14) | < 1:0.4.7-1 | 1:0.4.7-1 | Fixed |
| mechanize project mechanize | < 0.4.6 | 0.4.6 | Fixed |
| pypi mechanize(PyPI) | < 0.4.6; = 0.0.1a; = 0.0.8a; = 0.0.9a +47 more | 0.4.6 | Fixed |
| python-mechanize mechanize | >= 0.4.6, < 0.4.6 | 0.4.6 | Fixed |
| ubuntu/python-mechanize(Ubuntu Pro 16.04) | < 1:0.2.5-3ubuntu0.16.04.1~esm1; = 1:0.2.5-3 | 1:0.2.5-3ubuntu0.16.04.1~esm1 | Fixed |
| ubuntu/python-mechanize(Ubuntu Pro 18.04) | < 1:0.2.5-3ubuntu0.18.04.1~esm1; = 1:0.2.5-3 | 1:0.2.5-3ubuntu0.18.04.1~esm1 | Fixed |
| ubuntu/python-mechanize(Ubuntu Pro 20.04) | < 1:0.4.5-2ubuntu0.1~esm1; = 1:0.2.5-3; = 1:0.4.3-2; = 1:0.4.5-1 +1 more | 1:0.4.5-2ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi mechanize(PyPI) | < 0.4.6 | 0.4.6 |
| pypi mechanize(PyPI) | = 0.0.10a | No fix listed |
| pypi mechanize(PyPI) | = 0.0.11a | No fix listed |
| pypi mechanize(PyPI) | = 0.0.1a | No fix listed |
| pypi mechanize(PyPI) | = 0.0.8a | No fix listed |
| pypi mechanize(PyPI) | = 0.0.9a | No fix listed |
| pypi mechanize(PyPI) | = 0.1.0a | No fix listed |
| pypi mechanize(PyPI) | = 0.1.10 | No fix listed |
| pypi mechanize(PyPI) | = 0.1.11 | No fix listed |
| pypi mechanize(PyPI) | = 0.1.1a | No fix listed |
| pypi mechanize(PyPI) | = 0.1.2b | No fix listed |
| pypi mechanize(PyPI) | = 0.1.4b | No fix listed |
| pypi mechanize(PyPI) | = 0.1.5b | No fix listed |
| pypi mechanize(PyPI) | = 0.1.6b | No fix listed |
| pypi mechanize(PyPI) | = 0.1.7b | No fix listed |
| pypi mechanize(PyPI) | = 0.1.8 | No fix listed |
| pypi mechanize(PyPI) | = 0.1.9 | No fix listed |
| pypi mechanize(PyPI) | = 0.2.0 | No fix listed |
| pypi mechanize(PyPI) | = 0.2.1 | No fix listed |
| pypi mechanize(PyPI) | = 0.2.2 | No fix listed |
| pypi mechanize(PyPI) | = 0.2.3 | No fix listed |
| pypi mechanize(PyPI) | = 0.2.4 | No fix listed |
| pypi mechanize(PyPI) | = 0.2.5 | No fix listed |
| pypi mechanize(PyPI) | = 0.3.0 | No fix listed |
| pypi mechanize(PyPI) | = 0.3.1 | No fix listed |
Show 40 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi mechanize(PyPI) | = 0.3.2 | No fix listed |
| pypi mechanize(PyPI) | = 0.3.3 | No fix listed |
| pypi mechanize(PyPI) | = 0.3.4 | No fix listed |
| pypi mechanize(PyPI) | = 0.3.5 | No fix listed |
| pypi mechanize(PyPI) | = 0.3.6 | No fix listed |
| pypi mechanize(PyPI) | = 0.3.7 | No fix listed |
| pypi mechanize(PyPI) | = 0.4.0 | No fix listed |
| pypi mechanize(PyPI) | = 0.4.1 | No fix listed |
| pypi mechanize(PyPI) | = 0.4.2 | No fix listed |
| pypi mechanize(PyPI) | = 0.4.3 | No fix listed |
| pypi mechanize(PyPI) | = 0.4.4 | No fix listed |
| pypi mechanize(PyPI) | = 0.4.5 | No fix listed |
| pypi mechanize(PyPI) | = v0.4.5 | No fix listed |
| pypi mechanize(PyPI) | = v0.4.4 | No fix listed |
| pypi mechanize(PyPI) | = v0.4.3 | No fix listed |
| pypi mechanize(PyPI) | = v0.4.2 | No fix listed |
| pypi mechanize(PyPI) | = v0.4.1 | No fix listed |
| pypi mechanize(PyPI) | = v0.4.0 | No fix listed |
| pypi mechanize(PyPI) | = v0.3.7 | No fix listed |
| pypi mechanize(PyPI) | = v0.3.6 | No fix listed |
| pypi mechanize(PyPI) | = v0.3.5 | No fix listed |
| pypi mechanize(PyPI) | = v0.3.4 | No fix listed |
| pypi mechanize(PyPI) | = v0.3.3 | No fix listed |
| pypi mechanize(PyPI) | = v0.3.2 | No fix listed |
| pypi mechanize(PyPI) | = v0.3.1 | No fix listed |
| pypi mechanize(PyPI) | = v0.3.0 | No fix listed |
| debian/python-mechanize(Debian:12) | < 1:0.4.7-1 | 1:0.4.7-1 |
| debian/python-mechanize(Debian:13) | < 1:0.4.7-1 | 1:0.4.7-1 |
| debian/python-mechanize(Debian:14) | < 1:0.4.7-1 | 1:0.4.7-1 |
| mechanize project mechanize | < 0.4.6 | 0.4.6 |
| python-mechanize mechanize | >= 0.4.6, < 0.4.6 | 0.4.6 |
| ubuntu/python-mechanize(Ubuntu:Pro:16.04) | < 1:0.2.5-3ubuntu0.16.04.1~esm1 | 1:0.2.5-3ubuntu0.16.04.1~esm1 |
| ubuntu/python-mechanize(Ubuntu:Pro:16.04) | = 1:0.2.5-3 | No fix listed |
| ubuntu/python-mechanize(Ubuntu:Pro:18.04) | < 1:0.2.5-3ubuntu0.18.04.1~esm1 | 1:0.2.5-3ubuntu0.18.04.1~esm1 |
| ubuntu/python-mechanize(Ubuntu:Pro:18.04) | = 1:0.2.5-3 | No fix listed |
| ubuntu/python-mechanize(Ubuntu:Pro:20.04) | < 1:0.4.5-2ubuntu0.1~esm1 | 1:0.4.5-2ubuntu0.1~esm1 |
| ubuntu/python-mechanize(Ubuntu:Pro:20.04) | = 1:0.2.5-3 | No fix listed |
| ubuntu/python-mechanize(Ubuntu:Pro:20.04) | = 1:0.4.3-2 | No fix listed |
| ubuntu/python-mechanize(Ubuntu:Pro:20.04) | = 1:0.4.5-1 | No fix listed |
| ubuntu/python-mechanize(Ubuntu:Pro:20.04) | = 1:0.4.5-2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com
- github.com product
- github.com exploit issue-tracking third-party-advisory
- github.com issue-tracking third-party-advisory
- [debian-lts-announce] 20230620 [SECURITY] [DLA 3460-1] python-mechanize security update mailing-list
- lists.debian.org
- securitylab.github.com exploit issue-tracking third-party-advisory vendor-advisory
- github.com vendor-advisory
- Debian Security Tracker CVE-2021-32837 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking
- ubuntu.com vendor-advisory