CVE-2023-26303 markdown-it-py crash on null assertions
An attacker can cause a denial of service in markdown-it-py by submitting specially crafted input that triggers null assertions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-26303?
CVE-2023-26303 is a low-severity denial of service vulnerability in Executable Books markdown-it-py, published on 22 Feb 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Denial of service could be caused to markdown-it-py, before v2.2.0, if an attacker was allowed to force null assertions with specially crafted input.
Weakness: CWE-173
Which versions are affected by CVE-2023-26303?
3 open source packages ship an affected version, including markdown-it-py. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
markdown-it-py PyPI | All versions | 2.2.0 |
markdown-it-py PyPI | All versions | 2.2.0 |
markdown-it-py PyPI | All versions | 2.2.0 |
Linux distribution packages (2)
python-markdown-it-py openSUSE:Tumbleweed | All versions | 2.2.0-1.1 |
python-markdown-it-py openSUSE:Tumbleweed | All versions | 4.2.0-1.2 |
Products include Executablebooks Markdown-It-Py.
How do I fix CVE-2023-26303?
Upgrade markdown-it-py to 2.2.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-26303 being exploited?
There is no known exploitation of CVE-2023-26303 in the wild and no public exploit code.
Other vulnerabilities in Executable Books markdown-it-py
Sources
Also known as DEBIAN-CVE-2023-26303, GHSA-vrjv-mxr7-vjf8, PYSEC-2023-24, ROOT-APP-PYPI-CVE-2023-26303, UBUNTU-CVE-2023-26303, openSUSE-SU-2024:12772-1 and 1 more.