CVE-2023-28631
MEDIUMDescription
comrak is a CommonMark + GFM compatible Markdown parser and renderer written in rust. A Comrak AST can be constructed manually by a program instead of parsing a Markdown document with `parse_document`. This AST can then be converted to HTML via `html::format_document_with_plugins`. However, the HTML formatting code assumes that the AST is well-formed. For example, many AST notes contain `[u8]` fields which the formatting code assumes is valid UTF-8 data. Several bugs can be triggered if this is not the case. Version 0.17.0 contains adjustments to the AST, storing strings instead of unvalidated byte arrays. Users are advised to upgrade. Users unable to upgrade may manually validate UTF-8 correctness of all data when assigning to `&[u8]` and `Vec<u8>` fields in the AST. This issue is also tracked as `GHSL-2023-049`.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Exploit Intelligence
Moderate risk: more likely to be exploited than 66% of all known CVEs.
References
Related Vulnerabilities
Other CWE-755 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2017-5638 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2020-7247 | Critical | 9.8 | 99% | KEV | Fix |
| CVE-2023-36933 | High | 7.5 | 72% | - | Fix |
| CVE-2018-0934 | High | 7.5 | 66% | - | Fix |
| CVE-2019-14287 | High | 8.8 | 64% | - | Fix |
| CVE-2019-12815 | Critical | 9.8 | 58% | - | Fix |
Embed a live status badge for CVE-2023-28631
Markdown
[](https://tridentstack.com/cve/CVE-2023-28631)HTML
<a href="https://tridentstack.com/cve/CVE-2023-28631"><img src="https://tridentstack.com/cve/badge/CVE-2023-28631.svg" alt="CVE-2023-28631"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.