Advisory

PYSEC-2023-25

Also known as: CVE-2021-32837, GHSA-g3pv-pj5f-3hfq

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2023-01-17 22:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

mechanize

PyPI · All systems

Affected

  • introduced 0, fixed 0.4.6 (ecosystem)

Fixed versions

0.4.6

Fix

  • Fixed version 0.4.6
    pip install --upgrade mechanize==0.4.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences