Advisory

DEBIAN-CVE-2023-42821

Also known as: CVE-2023-42821

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2023-09-22 17:15 UTC
Modified
2026-10-26 18:02 UTC

Affected packages and fixes

golang-github-gomarkdown-markdown

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

golang-github-gomarkdown-markdown

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.0~git20231115.a660076-1 (ecosystem)

Fixed versions

0.0~git20231115.a660076-1

Fix

  • Fixed version 0.0~git20231115.a660076-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-github-gomarkdown-markdown

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.0~git20231115.a660076-1 (ecosystem)

Fixed versions

0.0~git20231115.a660076-1

Fix

  • Fixed version 0.0~git20231115.a660076-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences