Vulnerability GHSA-xhr3-wf7j-h255

Medium Risk
MEDIUM RISK
CVSS Score: 5.1
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
2 years ago
October 15, 2024 at 09:30 PM UTC
Infinite loop in github.com/gomarkdown/markdown
<0.0.0-20240729212818-a2a9c4f76ef5
<0.0.0-20240729212818-a2a9c4f76ef5

Summary

Infinite loop in github.com/gomarkdown/markdown

Details

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.

Timeline

Published
2 years ago
October 15, 2024 at 09:30 PM UTC
Fixed (v0.0.0-20240729212818-a2a9c4f76ef5)
2 years ago
July 29, 2024 at 09:28 PM UTC
Last Modified
1 month ago
September 10, 2026 at 03:50 AM UTC