Vulnerability Description
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior 0.29.0.gfm.7, a crafted markdown document can trigger an out-of-bounds read in the `validate_protocol` function. We believe this bug is harmless in practice, because the out-of-bounds read accesses `malloc` metadata without causing any visible damage.This vulnerability has been patched in 0.29.0.gfm.7.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Github | Cmark-Gfm | < 0.29.0.gfm.7 |
Related Weaknesses (CWE)
References
- https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvrExploitThird Party Advisory
- https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvrExploitThird Party Advisory
FAQ
What is CVE-2023-22485?
CVE-2023-22485 is a vulnerability with a CVSS score of 5.3 (MEDIUM). cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior 0.29.0.gfm.7, a crafted markdown document can trigger an out-of-bounds read in the `...
How severe is CVE-2023-22485?
CVE-2023-22485 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-22485?
Check the references section above for vendor advisories and patch information. Affected products include: Github Cmark-Gfm.