CVE-Katalog

CVE-2021-32837

python-mechanize affected and fixed versions

[CVE-Katalog]

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.5CVSS: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 / releasePackageVersionStatusSource
Debiantrixiepython-mechanize1:0.4.10+ds-4Fixed[CVE-2021-32837]
Debiantrixiepython-mechanize1:0.4.7-1FixedDistribution-reported fixed boundary[CVE-2021-32837]
Debiansidpython-mechanize1:0.4.10+ds1-3Fixed[CVE-2021-32837]
Debiansidpython-mechanize1:0.4.7-1FixedDistribution-reported fixed boundary[CVE-2021-32837]
Debianforkypython-mechanize1:0.4.10+ds1-3Fixed[CVE-2021-32837]
Debianforkypython-mechanize1:0.4.7-1FixedDistribution-reported fixed boundary[CVE-2021-32837]
Debianbookwormpython-mechanize1:0.4.7-1FixedDistribution-reported fixed boundary[CVE-2021-32837]
Debianbookwormpython-mechanize1:0.4.8+pypi-5Fixed[CVE-2021-32837]

Showing 8 fix observations. All 17 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Debianbookwormpython-mechanize1:0.4.7-1FixedDistribution-reported fixed boundary[CVE-2021-32837]
Debianbookwormpython-mechanize1:0.4.8+pypi-5Fixed[CVE-2021-32837]
Debianforkypython-mechanize1:0.4.10+ds1-3Fixed[CVE-2021-32837]
Debianforkypython-mechanize1:0.4.7-1FixedDistribution-reported fixed boundary[CVE-2021-32837]
Debiansidpython-mechanize1:0.4.10+ds1-3Fixed[CVE-2021-32837]
Debiansidpython-mechanize1:0.4.7-1FixedDistribution-reported fixed boundary[CVE-2021-32837]
Debiantrixiepython-mechanize1:0.4.10+ds-4Fixed[CVE-2021-32837]
Debiantrixiepython-mechanize1:0.4.7-1FixedDistribution-reported fixed boundary[CVE-2021-32837]
Opensuseleap 15.4python-mechanize0.4.8-bp154.2.3.1UnknownSource applicability is not established[OPENSUSE-SU-2023:0030-1]
Opensusetumbleweedpython-mechanize0.4.10-1.4UnknownSource applicability is not established[OPENSUSE-SU-2025:15098-1]
Susepackage hub 15 sp4python-mechanize0.4.8-bp154.2.3.1UnknownSource applicability is not established[OPENSUSE-SU-2023:0030-1]
Ubuntu16.04python-mechanize1:0.2.5-3UnknownSource applicability is not established[UBUNTU-CVE-2021-32837]
Ubuntu18.04python-mechanize1:0.2.5-3UnknownSource applicability is not established[UBUNTU-CVE-2021-32837]
Ubuntu20.04python-mechanize1:0.2.5-3UnknownSource applicability is not established[UBUNTU-CVE-2021-32837]
Ubuntu20.04python-mechanize1:0.4.3-2UnknownSource applicability is not established[UBUNTU-CVE-2021-32837]
Ubuntu20.04python-mechanize1:0.4.5-1UnknownSource applicability is not established[UBUNTU-CVE-2021-32837]
Ubuntu20.04python-mechanize1:0.4.5-2UnknownSource 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)]

  • Quellpaket: [python-mechanize]

    Details (2)
    • 1:0.4.8+pypi-5 · all · bookworm

      Behoben · Behoben: 1:0.4.7-1

      dsa · python-mechanize · debian · bookworm; dsa · python-mechanize · debian · 12

    • 1:0.4.8+pypi-5 · all · bookworm

      Behoben · Behoben: 1:0.4.7-1

      dsa · python-mechanize · debian · bookworm; dsa · python-mechanize · debian · 12

[Debian 13 (Trixie)]

  • Quellpaket: [python-mechanize]

    Details (2)
    • 1:0.4.10+ds-4 · all · trixie

      Behoben · Behoben: 1:0.4.7-1

      dsa · python-mechanize · debian · 13

    • 1:0.4.10+ds-4 · all · trixie

      Behoben · Behoben: 1:0.4.7-1

      dsa · python-mechanize · debian · 13

[openSUSE Tumbleweed]

  • Quellpaket: [python-mechanize]

    Details (1)
    • 0.4.10-3.4 · noarch · tumbleweed

      Unbekannt · Behoben: 0.4.10-1.4

      Version impact unknown

      dsa · python-mechanize · opensuse · tumbleweed

  • Quellpaket: [python-mechanize]

    Details (1)
    • 0.4.10-3.4 · noarch · tumbleweed

      Unbekannt · Behoben: 0.4.10-1.4

      Version impact unknown

      dsa · python-mechanize · opensuse · tumbleweed

Beobachtet:

Referenzen