Advisory

GHSA-jr9p-r423-9m2r

Also known as: CVE-2021-26813, PYSEC-2021-20

Summary

markdown2 Regular Expression Denial of Service

Details

markdown2 >=1.0.1.18, fixed in 2.4.0, is affected by a regular expression denial of service vulnerability. If an attacker provides a malicious string, it can make markdown2 processing difficult or delayed for an extended period of time.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-06-02 21:44 UTC
Modified
2025-02-21 05:30 UTC

Affected packages and fixes

markdown2

PyPI · All systems

Affected

  • introduced 1.0.1.18, fixed 2.4.0 (ecosystem)

Fixed versions

2.4.0

Fix

  • Fixed version 2.4.0
    pip install --upgrade markdown2==2.4.0

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences