CVE-2023-22485
Last modified
CVE-2023-22485 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.72% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Github | Cmark-Gfm | < 0.29.0.gfm.7 |
References
- https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvrExploit, Third Party Advisory
- https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvrExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-22485?
How severe is CVE-2023-22485?
How do I fix CVE-2023-22485?
Are you affected by CVE-2023-22485?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
