CVE-2023-26302 markdown-it-py CLI crash on invalid UTF-8 characters
An attacker can cause a denial of service in the markdown-it-py CLI by providing invalid UTF-8 characters as input.
- 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-26302?
CVE-2023-26302 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 the command line interface of markdown-it-py, before v2.2.0, if an attacker was allowed to use invalid UTF-8 characters as input.
Weakness: CWE-173
Which versions are affected by CVE-2023-26302?
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 |
Products include Executablebooks Markdown-It-Py.
How do I fix CVE-2023-26302?
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-26302 being exploited?
There is no known exploitation of CVE-2023-26302 in the wild and no public exploit code.
Other vulnerabilities in Executable Books markdown-it-py
Sources
Also known as DEBIAN-CVE-2023-26302, GHSA-jrwr-5x3p-hvc3, PYSEC-2023-23, ROOT-APP-PYPI-CVE-2023-26302, UBUNTU-CVE-2023-26302.