UBUNTU-CVE-2021-32837

Source
https://ubuntu.com/security/CVE-2021-32837
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32837.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-32837
Upstream
Published
2023-01-17T22:15:00Z
Modified
2025-07-18T16:46:49Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / python-mechanize

Package

Name
python-mechanize
Purl
pkg:deb/ubuntu/python-mechanize@1:0.2.5-3?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:0.*

1:0.2.5-3

Ubuntu:Pro:18.04:LTS / python-mechanize

Package

Name
python-mechanize
Purl
pkg:deb/ubuntu/python-mechanize@1:0.2.5-3?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:0.*

1:0.2.5-3

Ubuntu:Pro:20.04:LTS / python-mechanize

Package

Name
python-mechanize
Purl
pkg:deb/ubuntu/python-mechanize@1:0.4.5-2?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:0.*

1:0.2.5-3
1:0.4.3-2
1:0.4.5-1
1:0.4.5-2