{"schema_version":"1.9.0","id":"GHSA-xhr3-wf7j-h255","published":"2024-10-15T21:30:39Z","modified":"2026-09-10T03:50:20.197620668Z","aliases":["CVE-2024-44337","GO-2024-3205"],"summary":"Infinite loop in github.com/gomarkdown/markdown","details":"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":[{"package":{"name":"github.com/gomarkdown/markdown","ecosystem":"Go","purl":"pkg:golang/github.com/gomarkdown/markdown"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.0.0-20240729212818-a2a9c4f76ef5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-xhr3-wf7j-h255/GHSA-xhr3-wf7j-h255.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-44337"},{"type":"WEB","url":"https://github.com/gomarkdown/markdown/commit/a2a9c4f76ef5a5c32108e36f7c47f8d310322252"},{"type":"WEB","url":"https://github.com/Brinmon/CVE-2024-44337"},{"type":"PACKAGE","url":"https://github.com/gomarkdown/markdown"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-3205"}],"database_specific":{"cwe_ids":["CWE-835"],"github_reviewed":true,"github_reviewed_at":"2024-10-16T14:09:50Z","nvd_published_at":"2024-10-15T20:15:21Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"},{"type":"CVSS_V4","score":"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"}]}