CVE-2024-44337
MEDIUMgomarkdown/markdown < 0.0.0-20240729212818-a2a9c4f76ef5 - Denial of Service via Infinite Loop in Paragraph Function
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-44337. PoCs published by Brinmon.
AI-analyzed exploit summary The repository contains a functional Go-based PoC for CVE-2024-44337, demonstrating a DoS vulnerability in the `github.com/gomarkdown/markdown` library via an infinite loop triggered by a crafted input string. The exploit targets a logical flaw in the `paragraph` function of `parser/block.go`.
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.
Exploits (1)
The repository contains a functional Go-based PoC for CVE-2024-44337, demonstrating a DoS vulnerability in the `github.com/gomarkdown/markdown` library via an infinite loop triggered by a crafted input string. The exploit targets a logical flaw in the `paragraph` function of `parser/block.go`.
References (2)
Scores
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L