Skip to content
Fencer Vulns
medium 5.1

CVE-2024-44337 json

Infinite loop in github.com/gomarkdown/markdown

published 2024-10-15 2 y ago modified 2026-09-10 1 mo ago also GHSA-xhr3-wf7j-h255 , GO-2024-3205 , EUVD-2024-3169

cvss
5.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 43%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/gomarkdown/markdown 0.0.0-20240729212818-a2a9c4f76ef5
  • golang-github-gomarkdown-markdown Debian 14 0.0~git20260725.8435af3-1

debian advisories DEBIAN-CVE-2024-44337

  • fq openSUSE Tumbleweed 0.14.0-1.1
  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20241213T205935-1.1

opensuse advisories openSUSE-SU-2025:14753-1openSUSE-SU-2024:14599-1

  • cri-o CBL-Mariner 2.0 1.22.3-12

azure linux advisories AZL-50618

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-44337 updated cvss 5.3

gomarkdown/markdown: infinite loop via the paragraph function of parser/block.go

  • Red Hat Kube Descheduler Operator kube-descheduler-operator/descheduler-rhel9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat OpenShift distributed tracing 3 rhosdt/tempo-gateway-rhel8
    affected: workaround, no fix available
  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/lokistack-gateway-rhel8 Red Hat OpenShift Container Platform 4 openshift4/ose-descheduler, openshift4/kube-metrics-server-rhel8
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
CNA 3.1 5.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
GitHub 3.1 5.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected packages

ecosystem package affected fixed in
go github.com/gomarkdown/markdown
<0.0.0-20240729212818-a2a9c4f76ef5
0.0.0-20240729212818-a2a9c4f76ef5

Classification

Weakness
  • CWE-835 Loop with Unreachable Exit Condition

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.