Skip to content
OpenAdvisories
Medium · 5.1 Public exploit CVE-2024-44337 EUVD-2024-3169GHSA-xhr3-wf7j-h255GO-2024-3205

Infinite loop in github.com/gomarkdown/markdown

Published Oct 15, 2024 · Updated Nov 14, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 golang-github-gomarkdown-markdown 0.0~git20260725.8435af3-1 —
Debian 13 golang-github-gomarkdown-markdown No fix yet —
Debian 12 golang-github-gomarkdown-markdown No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-gomarkdown-markdown No fix yet —
Ubuntu 26.04 LTS golang-github-gomarkdown-markdown No fix yet —
Ubuntu 25.10 golang-github-gomarkdown-markdown No fix yet —
Ubuntu 24.04 LTS golang-github-gomarkdown-markdown No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed fq 0.14.0-1.1 openSUSE-SU-2025:14753-1
openSUSE Tumbleweed govulncheck-vulndb 0.0.20241213T205935-1.1 openSUSE-SU-2024:14599-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) cri-o 1.22.3-12 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling fq 0.13.0-r0 —
Wolfi rolling kube-metrics-adapter 0.2.3-r2 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • Brinmon/CVE-2024-44337 ★ 2 · Oct 15, 2024

    CVE-2024-44337 POC The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. which allowed a remote attacker to cause a denial of service (DoS) con…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gomarkdown/markdown < 0.0.0-20240729212818-a2a9c4f76ef5 0.0.0-20240729212818-a2a9c4f76ef5 GHSA-xhr3-wf7j-h255

Advisories 2

References