PT-2023-18536

CVE-2023-22485

·

Published

2023-01-24

·

Updated

2023-10-06

Description by

CVSS 3.1
5.3
Medium
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions cmark-gfm versions prior to 0.29.0.gfm.7
Description The issue is related to a crafted markdown document that can trigger an out-of-bounds read in the validate protocol function. This bug is believed to be harmless in practice because the out-of-bounds read accesses malloc metadata without causing any visible damage. Additionally, there are issues with polynomial time complexity in multiple components, which may lead to unbounded resource exhaustion and denial of service.
Recommendations For versions prior to 0.29.0.gfm.7, upgrade to version 0.29.0.gfm.7 or later to patch the vulnerability. As a temporary workaround, consider validating input from trusted sources to minimize the risk of exploitation. Restrict access to untrusted markdown documents until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-C944-CV5F-HPVR
RSEC-2023-8
Found an issue in the description? Have something to add? Feel free to write us 👾