SCA: security update for github.com/gomarkdown/markdown (GHSA-m9xq-6h2j-65r2)

high Tenable Cloud Security Plugin ID 416889

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2023-42821)

See Also

https://github.com/advisories/GHSA-m9xq-6h2j-65r2

Plugin Details

Severity: High

ID: 416889

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2023-42821

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/22/2023

Vulnerability Publication Date: 9/22/2023

Reference Information

CVE: CVE-2023-42821

cwe: CWE-125