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.osv.dev/v1/vulns/UBUNTU-CVE-2021-32837
Upstream
Downstream
Related
Published
2023-01-17T22:15:00Z
Modified
2026-11-18T00:45:21Z
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?arch=source&distro=esm-apps-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:0.2.5-3ubuntu0.16.04.1~esm1

Affected versions

1:0.*
1:0.2.5-3

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python-clientform",
            "binary_version":  "1:0.2.5-3ubuntu0.16.04.1~esm1"
        },
        {
            "binary_name":  "python-mechanize",
            "binary_version":  "1:0.2.5-3ubuntu0.16.04.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32837.json"

Ubuntu:Pro:18.04:LTS / python-mechanize

Package

Name
python-mechanize
Purl
pkg:deb/ubuntu/python-mechanize?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:0.2.5-3ubuntu0.18.04.1~esm1

Affected versions

1:0.*
1:0.2.5-3

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python-clientform",
            "binary_version":  "1:0.2.5-3ubuntu0.18.04.1~esm1"
        },
        {
            "binary_name":  "python-mechanize",
            "binary_version":  "1:0.2.5-3ubuntu0.18.04.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32837.json"

Ubuntu:Pro:20.04:LTS / python-mechanize

Package

Name
python-mechanize
Purl
pkg:deb/ubuntu/python-mechanize?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1:0.4.5-2ubuntu0.1~esm1

Affected versions

1:0.*
1:0.2.5-3
1:0.4.3-2
1:0.4.5-1
1:0.4.5-2

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python3-mechanize",
            "binary_version":  "1:0.4.5-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-32837.json"