CVE-2024-44337
MEDIUM 5.1CVSS 3.1Infinite loop in github.com/gomarkdown/markdown
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.
- Published
- 15 Oct 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-835
- Also known as
- GHSA-xhr3-wf7j-h255GO-2024-3205
- Sources
- NVDJSONOSV GHSA-xhr3-wf7j-h255JSONOSV GO-2024-3205JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/gomarkdown/markdown | < 0.0.0-20240729212818-a2a9c4f76ef5 | 0.0.0-20240729212818-a2a9c4f76ef5 |
References
- https://github.com/Brinmon/CVE-2024-44337 · WEB
- https://github.com/gomarkdown/markdown/commit/a2a9c4f76ef5a5c32108e36f7c47f8d310322252 · WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2024-44337 · ADVISORY
- https://github.com/gomarkdown/markdown · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-3205 · WEB
- https://github.com/advisories/GHSA-xhr3-wf7j-h255 · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 15 Oct 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Dec 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Oct 2024)