Python-Markdown version 3.8 contain a vulnerability where malformed HTML-like sequences can cause html.parser.HTMLParser to raise an unhandled AssertionError during Markdown parsing. Because Python-Markdown does not catch this exception, any application that processes attacker-controlled Markdown may crash. This enables remote, unauthenticated Denial of Service in web applications, documentation systems, CI/CD pipelines, and any service that renders untrusted Markdown. The issue was acknowledged by the vendor and fixed in version 3.8.1. This issue causes a remote Denial of Service in any application parsing untrusted Markdown, and can lead to Information Disclosure through uncaught exceptions.
The product does not properly control the allocation and maintenance of a limited resource.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Markdown | Python-markdown | 3.8 (including) | 3.8 (including) |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | RedHat | python3.12-markdown-0:3.10.2-1.el8ap | * |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | RedHat | python3.12-markdown-0:3.10.2-1.el9ap | * |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | RedHat | automation-controller-0:4.7.11-2.el9ap | * |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | RedHat | python3.12-markdown-0:3.10.2-1.el9ap | * |
| Red Hat Enterprise Linux 10 | RedHat | python-markdown-0:3.5.1-6.el10_2.1 | * |
| Red Hat Enterprise Linux 10.0 Extended Update Support | RedHat | python-markdown-0:3.5.1-6.el10_0.1 | * |
| Red Hat Enterprise Linux 9 | RedHat | python-markdown-0:3.3.4-4.el9_8.2 | * |
| Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | python-markdown-0:3.3.4-4.el9_4.2 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | python-markdown-0:3.3.4-4.el9_6.2 | * |
| Red Hat Satellite 6.16 for RHEL 8 | RedHat | python-markdown-0:3.8.2-1.el8pc | * |
| Red Hat Satellite 6.16 for RHEL 8 | RedHat | python-markdown-0:3.8.2-1.el8pc | * |
| Red Hat Satellite 6.16 for RHEL 9 | RedHat | python-markdown-0:3.8.2-1.el9pc | * |
| Red Hat Satellite 6.16 for RHEL 9 | RedHat | python-markdown-0:3.8.2-1.el9pc | * |
| Red Hat Satellite 6.17 for RHEL 9 | RedHat | python-markdown-0:3.8.2-1.el9pc | * |
| Red Hat Satellite 6.17 for RHEL 9 | RedHat | python-markdown-0:3.8.2-1.el9pc | * |
| Red Hat Satellite 6.18 for RHEL 9 | RedHat | python3.12-markdown-0:3.8.2-1.el9pc | * |
| Red Hat Satellite 6.18 for RHEL 9 | RedHat | python3.12-markdown-0:3.8.2-1.el9pc | * |
| Red Hat Developer Hub 1.8 | RedHat | rhdh/rhdh-hub-rhel9:1776784286 | * |
| Red Hat Developer Hub 1.9 | RedHat | rhdh/rhdh-hub-rhel9:1777903262 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-modelmesh-runtime-adapter-rhel9:1776768939 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-training-cuda124-torch25-py311-rhel9:1776243287 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-training-rocm62-torch25-py311-rhel9:1776272253 | * |
| Python2.7 | Ubuntu | esm-infra/xenial | * |
| Python3.13 | Ubuntu | upstream | * |
| Python3.14 | Ubuntu | upstream | * |
| Python3.5 | Ubuntu | esm-infra/xenial | * |
Mitigation of resource exhaustion attacks requires that the target system either:
The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.
The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.