CVE & CISA-KEV Catalog

CVE-2023-28631

MEDIUM
5.3
CVSS v3
NVD

Description

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 Available
comrakNVD
Affected:< 0.17.0Fixed in:0.17.0CVE-2023-28631derived from NVD

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploit Intelligence

1.27%probability of exploitation in 30 days
66thpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2017-5638Critical9.8100%KEV + RansomFix
CVE-2020-7247Critical9.899%KEVFix
CVE-2023-36933High7.572%-Fix
CVE-2018-0934High7.566%-Fix
CVE-2019-14287High8.864%-Fix
CVE-2019-12815Critical9.858%-Fix
Embed a live status badge for CVE-2023-28631
CVE-2023-28631 severity badge

Markdown

[![CVE-2023-28631](https://tridentstack.com/cve/badge/CVE-2023-28631.svg)](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 free

This 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.