Skip to content
OpenAdvisories
High openSUSE-SU-2021:0451-1 1 CVE

Security update for python-markdown2

Published Mar 19, 2021 · Updated Feb 4, 2026

Summary

This update for python-markdown2 fixes the following issues:

Update to 2.4.0 (boo#1181270):

- [pull #377] Fixed bug breaking strings elements in metadata lists
- [pull #380] When rendering fenced code blocks, also add the
language-LANG class
- [pull #387] Regex DoS fixes (CVE-2021-26813, boo#1183171)

- Switch off failing tests (gh#trentm/python-markdown2#388),
ignore failing test suite.

update to 2.3.9:

- [pull #335] Added header support for wiki tables
- [pull #336] Reset _toc when convert is run
- [pull #353] XSS fix
- [pull #350] XSS fix

- Add patch to fix unsanitized input for cross-site scripting (boo#1171379)

This update was imported from the openSUSE:Leap:15.2:Update update project.

Fixed packages 1

ReleasePackageFixed in
SUSE · Package Hub 15 SP2 python-markdown2 2.4.0-bp152.2.4.1

Vulnerabilities 1

  • High 7.5

    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.

References

  • report
    https://bugzilla.suse.com/1171379
  • report
    https://bugzilla.suse.com/1181270
  • report
    https://bugzilla.suse.com/1183171
  • web
    https://www.suse.com/security/cve/CVE-2021-26813