{"id":"CVE-2024-44337","aliases":["CVE-2024-44337","GHSA-xhr3-wf7j-h255","GO-2024-3205"],"related":["CGA-qwxx-v2r2-mhxp"],"kind":"vulnerability","state":"published","title":"Infinite loop in github.com/gomarkdown/markdown","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Infinite loop in github.com/gomarkdown/markdown","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-10-15T00:00:00.000Z","modified":"2026-09-10T03:50:20.197Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-835"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20240729212818-a2a9c4f76ef5"}],"ecosystem":"Go","package":"github.com/gomarkdown/markdown","purl":"pkg:golang/github.com/gomarkdown/markdown","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20240729212818-a2a9c4f76ef5"}],"ecosystem":"Go","package":"github.com/gomarkdown/markdown","purl":"pkg:golang/github.com/gomarkdown/markdown","source":"go"}],"references":[{"url":"https://github.com/gomarkdown/markdown/commit/a2a9c4f76ef5a5c32108e36f7c47f8d310322252","tags":["fix","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/Brinmon/CVE-2024-44337","tags":["web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-44337","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/gomarkdown/markdown","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3205","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-xhr3-wf7j-h255","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-18T19:05:22.013Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-44337","url":"https://www.cve.org/CVERecord?id=CVE-2024-44337","licence":"CVE Terms of Use","modified":"2024-11-14T16:11:29.351Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xhr3-wf7j-h255","url":"https://github.com/advisories/GHSA-xhr3-wf7j-h255","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:20.197Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3205","url":"https://pkg.go.dev/vuln/GO-2024-3205","licence":"CC-BY-4.0","modified":"2026-02-04T02:26:55.493Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-44337","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-44337","licence":"Public domain","modified":"2026-06-17T07:52:47.250Z"}],"updatedAt":"2026-11-25T22:58:46.802Z","epss":{"score":0.00501,"percentile":0.44518,"date":"2026-12-01T12:00:22.000Z"}}