5.1medium
Infinite loop in github.com/gomarkdown/markdown
- Severity
- 5.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-xhr3-wf7j-h255GO-2024-3205
Description
The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `v0.0.0-20240729232818-a2a9c4f`, which corresponds with commit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252`, there was a logical problem in the paragraph function of the parser/block.go file, which allowed a remote attacker to cause a denial of service (DoS) condition by providing a tailor-made input that caused an infinite loop, causing the program to hang and consume resources indefinitely. Submit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252` contains fixes to this problem.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/gomarkdown/markdown (Go) | before 0.0.0-20240729212818-a2a9c4f76ef5 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| CISA-ADP | 5.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| GitHub | 5.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `v0.0.0-20240729232818-a2a9c4f`, which corresponds with commit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252`, there was a logical problem in the paragraph function of the parser/block.go file, which allowed a remote attacker to cause a denial of service (DoS) condition by providing a tailor-made input that caused an infinite loop, causing the program to hang and consume resources indefinitely. Submit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252` contains fixes to this problem.
Go Vulnerability Database
Infinite loop in github.com/gomarkdown/markdown
NVD (es)
El paquete `github.com/gomarkdown/markdown` es una librería Go para analizar texto Markdown y representarlo como HTML. Antes de la pseudoversión `v0.0.0-20240729232818-a2a9c4f`, que corresponde con el commit `a2a9c4f76ef5a5c32108e36f7c47f8d310322252`, había un problema lógico en la función de párrafo del archivo parser/block.go, que permitía a un atacante remoto provocar una condición de denegación de servicio (DoS) al proporcionar una entrada personalizada que causaba un bucle infinito, lo que hacía que el programa se colgara y consumiera recursos indefinidamente. La publicación `a2a9c4f76ef5a5c32108e36f7c47f8d310322252` contiene correcciones a este problema.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-44337 changed 2024-11-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xhr3-wf7j-h255 changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3205 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2024-44337 changed 2026-06-17 | Public domain |