Security mailing lists by PureSourceCode

CVE-2021-26813

HIGH 7.5CVSS 3.1

markdown2 Regular Expression Denial of Service

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.

Published
3 Mar 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-1333
Also known as
GHSA-jr9p-r423-9m2rPYSEC-2021-20
Sources
NVDJSONOSV GHSA-jr9p-r423-9m2rJSONOSV PYSEC-2021-20JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD markdown2_project markdown2
cpe:2.3:a:markdown2_project:markdown2:*:*:*:*:*:*:*:*
>= 1.0.1.18, < 2.4.0 2.4.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
OSV PyPI markdown2 >= 1.0.1.18, < 2.4.0 2.4.0

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 3 Mar 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Mar 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Jun 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.