Vulnerability · Published Oct 15, 2024 · Assigned by mitre
CVE-2024-44337
Medium 5.1
In plain English
A medium-severity security flaw in the golang-github-gomarkdown-markdown package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-gomarkdown-markdown | no fix listed | DEBIAN-CVE-2024-44337 |
| Debian:13 | golang-github-gomarkdown-markdown | no fix listed | DEBIAN-CVE-2024-44337 |
| Debian:14 | golang-github-gomarkdown-markdown | 0.0~git20260725.8435af3-1 | DEBIAN-CVE-2024-44337 |
| Go | github.com/gomarkdown/markdown | 0.0.0-20240729212818-a2a9c4f76ef5 | GHSA-xhr3-wf7j-h255 |
| Go | github.com/gomarkdown/markdown | 0.0.0-20240729212818-a2a9c4f76ef5 | GO-2024-3205 |
| Ubuntu:24.04:LTS | golang-github-gomarkdown-markdown | no fix listed | UBUNTU-CVE-2024-44337 |
| Ubuntu:25.10 | golang-github-gomarkdown-markdown | no fix listed | UBUNTU-CVE-2024-44337 |
| Ubuntu:26.04:LTS | golang-github-gomarkdown-markdown | no fix listed | UBUNTU-CVE-2024-44337 |
| Ubuntu:26.10 | golang-github-gomarkdown-markdown | no fix listed | UBUNTU-CVE-2024-44337 |