cve/2023/CVE-2023-22485.md

18 lines
977 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-22485](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-22485)
![](https://img.shields.io/static/v1?label=Product&message=cmark-gfm&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%200.29.0.gfm.7%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-125%3A%20Out-of-bounds%20Read&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/github/cmark-gfm/security/advisories/GHSA-c944-cv5f-hpvr
#### Github
No PoCs found on GitHub currently.