GitHub Advisoryadvisory · PyPI
GHSA-jr9p-r423-9m2r markdown2 Regular Expression Denial of Service
HIGH
Official page ↗
- Aliases
- CVE-2021-26813
- Ecosystem
- PyPI
- Packages
- markdown2
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
- Reviewed
- 2021-05-12
Affected packages
• PyPI markdown2: >= 1.0.1.18, < 2.4.0 → fixed in 2.4.0
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.
Related
Alias · CVE (1)
- CVE-2021-26813 markdown2 >=1.0.1.18, fixed in 2.4.0, is affected by a regular expression denial of service vulnerability. vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-26813 advisory
- https://github.com/trentm/python-markdown2/pull/387 web
- https://github.com/trentm/python-markdown2/commit/7b651260739647de5198323e0445b1618750c374 web
- https://github.com/advisories/GHSA-jr9p-r423-9m2r advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/markdown2/PYSEC-2021-20.yaml web
- https://github.com/trentm/python-markdown2 package
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BRP5RN35JZTSJ3JT4722F447ZDK7LZS5 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/J752422YELXLMLZJPVJVKD2KKHHQRVEH web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/JTIX5UXRDJZJ57DO4V33ZNJTNKWGBQLY web