cbcvebase.
CVE-2023-22485
published 2023-01-24

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…

PriorityP426medium5.3CVSS 3.1
AVNACLPRNUINSUCLINAN
EPSS
0.72%
49.4th percentile
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.

Affected

7 ranges
VendorProductVersion rangeFixed in
debiancmark-gfm< cmark-gfm 0.29.0.gfm.13-1 (forky)cmark-gfm 0.29.0.gfm.13-1 (forky)
debianpython-cmarkgfm< cmark-gfm 0.29.0.gfm.13-1 (forky)cmark-gfm 0.29.0.gfm.13-1 (forky)
debianr-cran-commonmark< cmark-gfm 0.29.0.gfm.13-1 (forky)cmark-gfm 0.29.0.gfm.13-1 (forky)
debianruby-commonmarker< cmark-gfm 0.29.0.gfm.13-1 (forky)cmark-gfm 0.29.0.gfm.13-1 (forky)
githubcmark-gfm< 0.29.0.gfm.70.29.0.gfm.7
githubcmark-gfm>= 0 < 0.29.0.gfm.13-10.29.0.gfm.13-1
githubcmark-gfm>= 0 < 0.29.0.gfm.13-10.29.0.gfm.13-1

CVSS provenance

nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
ghsa7.5HIGH
osv7.5HIGH
vendor_debian5.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.