Infinite loop Affecting github.com/gomarkdown/markdown/parser package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOMARKDOWNMARKDOWNPARSER-8220052
  • published16 Oct 2024
  • disclosed15 Oct 2024
  • creditBrinmon

Introduced: 15 Oct 2024

CVE-2024-44337  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

github.com/gomarkdown/markdown/parser is a library for parsing Markdown text and rendering as HTML.

Affected versions of this package are vulnerable to Infinite loop via the paragraph function in the parser/block.go file. An attacker can cause the application to hang and consume resources indefinitely by providing tailor-made input that triggers an infinite loop.

CVSS Scores

version 4.0
version 3.1