CVE-2023-42821

golang-github-gomarkdown-markdown: The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML

CVE-2023-42821 is fixed in golang-github-gomarkdown-markdown on 1 platform, first by DEBIAN-CVE-2023-42821, released September 22, 2023. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
7.5
high
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0125
69th percentile

The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `0.0.0-20230922105210-14b16010c2ee`, which corresponds with commit `14b16010c2ee7ff33a940a541d993bd043a88940`, parsing malformed markdown input with parser that uses parser.Mmark extension could result in out-of-bounds read vulnerability. To exploit the vulnerability, parser needs to have `parser.Mmark` extension set. The panic occurs inside the `citation.go` file on the line 69 when the parser tries to access the element past its length. This can result in a denial of service. Commit `14b16010c2ee7ff33a940a541d993bd043a88940`/pseudoversion `0.0.0-20230922105210-14b16010c2ee` contains a patch for this issue.

Where it's fixed

ProductFixed inFixReleased
Linux
golang-github-gomarkdown-markdown · Debian 13.5 (trixie) 0.0~git20231115.a660076-1 DEBIAN-CVE-2023-42821 Sep 22, 2023
golang-github-gomarkdown-markdown · Debian 14 0.0~git20231115.a660076-1 DEBIAN-CVE-2023-42821 Sep 22, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.