CVE-2021-26813
low
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
2.5
Description
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Arch Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Fixed | 2.4.0-1 |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.3.10-1.1 |
| sid | Fixed | 2.3.10-1.1 |
| forky | Fixed | 2.3.10-1.1 |
| bullseye | Fixed | 2.3.10-1.1 |
| bookworm | Fixed | 2.3.10-1.1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | markdown2 | >=1.0.1.18,<2.4.0 | 2.4.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-26813
- https://github.com/trentm/python-markdown2/pull/387
- https://github.com/trentm/python-markdown2/commit/7b651260739647de5198323e0445b1618750c374
- https://github.com/advisories/GHSA-jr9p-r423-9m2r
- https://github.com/pypa/advisory-database/tree/main/vulns/markdown2/PYSEC-2021-20.yaml
- https://github.com/trentm/python-markdown2
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRP5RN35JZTSJ3JT4722F447ZDK7LZS5
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J752422YELXLMLZJPVJVKD2KKHHQRVEH
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JTIX5UXRDJZJ57DO4V33ZNJTNKWGBQLY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BRP5RN35JZTSJ3JT4722F447ZDK7LZS5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JTIX5UXRDJZJ57DO4V33ZNJTNKWGBQLY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J752422YELXLMLZJPVJVKD2KKHHQRVEH/
- https://security-tracker.debian.org/tracker/CVE-2021-26813
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.