PT-2023-28606 · Unknown+1 · Gomarkdown/Markdown+1

Nsecho

·

Publicado

2023-09-22

·

Atualizado

2023-09-26

·

CVE-2023-42821

CVSS v3.1

7.5

Alta

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions github.com/gomarkdown/markdown versions prior to 0.0.0-20230922105210-14b16010c2ee
Description The package github.com/gomarkdown/markdown is a Go library for parsing Markdown text and rendering as HTML. Parsing malformed markdown input with a parser that uses the parser.Mmark extension could result in an out-of-bounds read issue. To exploit this, the parser needs to have the parser.Mmark extension set. The issue occurs inside the citation.go file on line 69 when the parser tries to access an element past its length, resulting in a denial of service.
Recommendations For versions prior to 0.0.0-20230922105210-14b16010c2ee, update to a version that includes the patch for this issue, such as 0.0.0-20230922105210-14b16010c2ee or later. As a temporary workaround, consider disabling the parser.Mmark extension until a patch is applied.

Exploit

Correção

DoS

Out of bounds Read

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

AZL-39828
CVE-2023-42821
GHSA-M9XQ-6H2J-65R2
GO-2023-2074

Produtos afetados

Debian
Gomarkdown/Markdown