CVE-2024-44337 Infinite loop in github.com/gomarkdown/markdown
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 2 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-github-gomarkdown-markdown(Debian 12) | = 0.0~git20220731.dcdaee8-2; = 0.0~git20231115.a660076-1; = 0.0~git20260725.8435af3-1; All versions | No fix listed | No fix yet |
| debian/golang-github-gomarkdown-markdown(Debian 13) | = 0.0~git20231115.a660076-1; = 0.0~git20260725.8435af3-1; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/golang-github-gomarkdown-markdown(Debian 14) | < 0.0~git20260725.8435af3-1; = 0.0~git20231115.a660076-1 | 0.0~git20260725.8435af3-1 | Fixed |
| gomarkdown markdown(Go) | < 0.0.0-20240729212818-a2a9c4f76ef5 | 0.0.0-20240729212818-a2a9c4f76ef5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gomarkdown markdown(Go) | < 0.0.0-20240729212818-a2a9c4f76ef5 | 0.0.0-20240729212818-a2a9c4f76ef5 |
| debian/golang-github-gomarkdown-markdown(Debian:12) | All versions | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:12) | = 0.0~git20220731.dcdaee8-2 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:12) | = 0.0~git20231115.a660076-1 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:12) | = 0.0~git20260725.8435af3-1 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:13) | All versions | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:13) | = 0.0~git20231115.a660076-1 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:13) | = 0.0~git20260725.8435af3-1 | No fix listed |
| debian/golang-github-gomarkdown-markdown(Debian:14) | < 0.0~git20260725.8435af3-1 | 0.0~git20260725.8435af3-1 |
| debian/golang-github-gomarkdown-markdown(Debian:14) | = 0.0~git20231115.a660076-1 | No fix listed |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-gomarkdown-markdown(Ubuntu:26.10) | All versions | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com exploit
- github.com product
- pkg.go.dev
- github.com vendor-advisory
- Debian Security Tracker CVE-2024-44337 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking