Skip to main content
← All vulnerabilities
CVE-2023-22485

cmark-gfm out-of-bounds read in validate_protocol

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.29.0.gfm.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • github cmark-gfm

    fixed in 0.29.0.gfm.7

References 1

GitHub · github/cmark-gfm