
CVE-Katalog
CVE-2021-32837
python-mechanize affected and fixed versions
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.
- Schweregrad
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 28.87% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiantrixie | python-mechanize | 1:0.4.10+ds-4 | Fixed | [CVE-2021-32837] |
| Debiantrixie | python-mechanize | 1:0.4.7-1 | FixedDistribution-reported fixed boundary | [CVE-2021-32837] |
| Debiansid | python-mechanize | 1:0.4.10+ds1-3 | Fixed | [CVE-2021-32837] |
| Debiansid | python-mechanize | 1:0.4.7-1 | FixedDistribution-reported fixed boundary | [CVE-2021-32837] |
| Debianforky | python-mechanize | 1:0.4.10+ds1-3 | Fixed | [CVE-2021-32837] |
| Debianforky | python-mechanize | 1:0.4.7-1 | FixedDistribution-reported fixed boundary | [CVE-2021-32837] |
| Debianbookworm | python-mechanize | 1:0.4.7-1 | FixedDistribution-reported fixed boundary | [CVE-2021-32837] |
| Debianbookworm | python-mechanize | 1:0.4.8+pypi-5 | Fixed | [CVE-2021-32837] |
Showing 8 fix observations. All 17 observations, including unknown and conflicting reports, are available below.
Provider details and historical evidence
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | python-mechanize | 1:0.4.7-1 | FixedDistribution-reported fixed boundary | [CVE-2021-32837] |
| Debianbookworm | python-mechanize | 1:0.4.8+pypi-5 | Fixed | [CVE-2021-32837] |
| Debianforky | python-mechanize | 1:0.4.10+ds1-3 | Fixed | [CVE-2021-32837] |
| Debianforky | python-mechanize | 1:0.4.7-1 | FixedDistribution-reported fixed boundary | [CVE-2021-32837] |
| Debiansid | python-mechanize | 1:0.4.10+ds1-3 | Fixed | [CVE-2021-32837] |
| Debiansid | python-mechanize | 1:0.4.7-1 | FixedDistribution-reported fixed boundary | [CVE-2021-32837] |
| Debiantrixie | python-mechanize | 1:0.4.10+ds-4 | Fixed | [CVE-2021-32837] |
| Debiantrixie | python-mechanize | 1:0.4.7-1 | FixedDistribution-reported fixed boundary | [CVE-2021-32837] |
| Opensuseleap 15.4 | python-mechanize | 0.4.8-bp154.2.3.1 | UnknownSource applicability is not established | [OPENSUSE-SU-2023:0030-1] |
| Opensusetumbleweed | python-mechanize | 0.4.10-1.4 | UnknownSource applicability is not established | [OPENSUSE-SU-2025:15098-1] |
| Susepackage hub 15 sp4 | python-mechanize | 0.4.8-bp154.2.3.1 | UnknownSource applicability is not established | [OPENSUSE-SU-2023:0030-1] |
| Ubuntu16.04 | python-mechanize | 1:0.2.5-3 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-32837] |
| Ubuntu18.04 | python-mechanize | 1:0.2.5-3 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-32837] |
| Ubuntu20.04 | python-mechanize | 1:0.2.5-3 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-32837] |
| Ubuntu20.04 | python-mechanize | 1:0.4.3-2 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-32837] |
| Ubuntu20.04 | python-mechanize | 1:0.4.5-1 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-32837] |
| Ubuntu20.04 | python-mechanize | 1:0.4.5-2 | UnknownSource applicability is not established | [UBUNTU-CVE-2021-32837] |
Original provider fields
{
"package_releases": [
{
"name": "python-mechanize",
"status": "fixed",
"release": "sid",
"version": "1:0.4.10+ds1-3"
},
{
"name": "python-mechanize",
"status": "fixed",
"release": "forky",
"version": "1:0.4.10+ds1-3"
},
{
"name": "python-mechanize",
"status": "fixed",
"release": "trixie",
"version": "1:0.4.10+ds-4"
},
{
"name": "python-mechanize",
"status": "fixed",
"release": "bookworm",
"version": "1:0.4.8+pypi-5"
}
],
"fixed_versions": [
{
"bug": null,
"name": "python-mechanize",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1:0.4.7-1"
},
{
"bug": null,
"name": "python-mechanize",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1:0.4.7-1"
},
{
"bug": null,
"name": "python-mechanize",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": "1:0.4.7-1"
},
{
"bug": null,
"name": "python-mechanize",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": "1:0.4.7-1"
}
],
"distribution_packages": [
{
"name": "python-mechanize",
"distro": "suse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.4.8-bp154.2.3.1"
}
]
}
],
"release": "package hub 15 sp4",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2023:0030-1",
"fixed_version": "0.4.8-bp154.2.3.1",
"provider_source": "pypi",
"provider_record_id": "OPENSUSE-SU-2023:0030-1",
"provider_updated_at": "2026-02-04T04:28:02.239792Z",
"applicability_unknown": true
},
{
"name": "python-mechanize",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.4.8-bp154.2.3.1"
}
]
}
],
"release": "leap 15.4",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2023:0030-1",
"fixed_version": "0.4.8-bp154.2.3.1",
"provider_source": "pypi",
"provider_record_id": "OPENSUSE-SU-2023:0030-1",
"provider_updated_at": "2026-02-04T04:28:02.239792Z",
"applicability_unknown": true
},
{
"name": "python-mechanize",
"distro": "opensuse",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.4.10-1.4"
}
]
}
],
"release": "tumbleweed",
"versions": [],
"ecosystem": "rpm",
"provider_url": "https://osv.dev/vulnerability/openSUSE-SU-2025:15098-1",
"fixed_version": "0.4.10-1.4",
"provider_source": "pypi",
"provider_record_id": "OPENSUSE-SU-2025:15098-1",
"provider_updated_at": "2026-02-04T02:58:13.113532Z",
"applicability_unknown": true
},
{
"name": "python-mechanize",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "16.04",
"versions": [
"1:0.2.5-3"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-32837",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2021-32837",
"provider_updated_at": "2025-10-24T04:50:21Z",
"applicability_unknown": true
},
{
"name": "python-mechanize",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "18.04",
"versions": [
"1:0.2.5-3"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-32837",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2021-32837",
"provider_updated_at": "2025-10-24T04:50:21Z",
"applicability_unknown": true
},
{
"name": "python-mechanize",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "20.04",
"versions": [
"1:0.2.5-3",
"1:0.4.3-2",
"1:0.4.5-1",
"1:0.4.5-2"
],
"ecosystem": "deb",
"provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-32837",
"fixed_version": "",
"provider_source": "pypi",
"provider_record_id": "UBUNTU-CVE-2021-32837",
"provider_updated_at": "2025-10-24T04:50:21Z",
"applicability_unknown": true
}
]
}OpenFactory catalog packages
Die Paketzuordnung läuft.
[Debian 12 (Bookworm)]
- [python3-mechanize]Unbekannt
Quellpaket: [python-mechanize]
Details (2)
1:0.4.8+pypi-5· all · bookwormBehoben · Behoben:
1:0.4.7-1dsa · python-mechanize · debian · bookworm; dsa · python-mechanize · debian · 12
1:0.4.8+pypi-5· all · bookwormBehoben · Behoben:
1:0.4.7-1dsa · python-mechanize · debian · bookworm; dsa · python-mechanize · debian · 12
[Debian 13 (Trixie)]
- [python3-mechanize]Unbekannt
Quellpaket: [python-mechanize]
Details (2)
1:0.4.10+ds-4· all · trixieBehoben · Behoben:
1:0.4.7-1dsa · python-mechanize · debian · 13
1:0.4.10+ds-4· all · trixieBehoben · Behoben:
1:0.4.7-1dsa · python-mechanize · debian · 13
[openSUSE Tumbleweed]
- [python313-mechanize]Unbekannt
Quellpaket: [python-mechanize]
Details (1)
0.4.10-3.4· noarch · tumbleweedUnbekannt · Behoben:
0.4.10-1.4Version impact unknown
dsa · python-mechanize · opensuse · tumbleweed
- [python314-mechanize]Unbekannt
Quellpaket: [python-mechanize]
Details (1)
0.4.10-3.4· noarch · tumbleweedUnbekannt · Behoben:
0.4.10-1.4Version impact unknown
dsa · python-mechanize · opensuse · tumbleweed
Beobachtet:
Referenzen
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2023_0030-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-32837]
- [https://osv.dev/vulnerability/DLA-3460-1]
- [https://osv.dev/vulnerability/DLA-4418-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-32837]
- [https://osv.dev/vulnerability/openSUSE-SU-2023:0030-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15098-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-32837]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-32837.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]