XPath Injection in GitHub Cmark-Gfm
CVE-2023-22485
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.007 (52.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 52.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- GitHub Cmark-Gfm — versions < 0.29.0.gfm.7
Weakness classification (CWE)
References
- github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvr (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2023-22485?
- CVE-2023-22485 is a medium-severity vulnerability in GitHub Cmark-Gfm, classified under Out-of-bounds Read. CVSS score: 5.3/10. Published 2023-01-24.
- How severe is CVE-2023-22485?
- Medium severity. CVSS v3 base score is 5.3 out of 10.