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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:github:cmark-gfm:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:44

Type Values Removed Values Added
References () https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvr - Exploit, Third Party Advisory () https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvr - Exploit, Third Party Advisory
Summary
  • (es) cmmark-gfm es la bifurcación de GitHub de cmark, una librería y programa de análisis y representación de CommonMark en C. En versiones anteriores a la 0.29.0.gfm.7, un documento de rebajas manipulado puede desencadenar una lectura fuera de los límites en la función `validate_protocol` . Creemos que este error es inofensivo en la práctica, porque la lectura fuera de los límites accede a los metadatos "malloc" sin causar ningún daño visible. Esta vulnerabilidad ha sido parcheada en 0.29.0.gfm.7.

Information

Published : 2023-01-24 01:15

Updated : 2024-11-21 07:44


NVD link : CVE-2023-22485

Mitre link : CVE-2023-22485

CVE.ORG link : CVE-2023-22485


JSON object : View

Products Affected

github

  • cmark-gfm
CWE
CWE-125

Out-of-bounds Read

CWE-91

XML Injection (aka Blind XPath Injection)