← Übersicht Nicht im beobachteten Stack

gomarkdown/markdown IsSafeURL panics on short URLs

CVE-2026-102941 · DEBIAN-CVE-2026-102941 · DHI-4v2i-kx5w-ny5l-4xlr · GHSA-cv23-7vc5-jfh7 · UBUNTU-CVE-2026-102941

Hoch · CVSS 7.5 Ubuntu: mediumRed Hat: Important Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
16.10.2026 17:38
Zuletzt geändert
16.11.2026
EPSS (30 Tage)
0.3 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

The package github.com/gomarkdown/markdown is a Go library for parsing Markdown text and rendering as HTML. Prior to 0.0.0-20260724235538-61af6e1e6971, parser.IsSafeURL in parser/parser.go slices url[:nPath] before the len(url) >= nPath guard. A short destination causes a slice-bounds panic when the loop reaches a relative-path prefix for which len(url) < nPath and cap(url) < nPath. The one-byte destination / is an explicit non-panic counterexample because it matches the first valid path and returns before a longer prefix is sliced. Demonstrated panic cases include empty, ., and .. destinations under those conditions. The panic is reachable when markdown.ToHTML renders untrusted Markdown with html.Safelink enabled, including an empty link destination, and is also reachable by callers that pass a short attacker-controlled URL directly to the exported parser.IsSafeURL function. An uncaught panic can terminate the calling process and cause denial of service. This issue is fixed in 0.0.0-20260724235538-61af6e1e6971.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 2 betroffen, 3 nicht betroffen.

Ansible Automation Orchestrator 2026 BetroffenFix ausstehend ansible-automation-platform/automation-orchestrator-temporal-rhel9
Multicluster Global Hub Betroffenwird nicht behoben multicluster-globalhub/multicluster-globalhub-grafana-rhel9
Nicht betroffen (3)
Red Hat Advanced Cluster Management for Kubernetes 2Nicht betroffenverwundbarer Code nicht enthaltenrhacm2/acm-grafana-rhel9
Red Hat OpenShift Container Platform 4Nicht betroffenverwundbarer Code nicht enthaltencri-o, openshift4/kube-metrics-server-rhel8, openshift4/kube-metrics-server-rhel9
Red Hat OpenShift Container Platform 5Nicht betroffenverwundbarer Code nicht enthaltenopenshift5/kube-metrics-server-rhel9
Weitere betroffene Pakete (18)
CVEgomarkdown/markdownkein Fix bekanntCVE-2026-102941
Debian:12golang-github-gomarkdown-markdownkein Fix bekanntDEBIAN-CVE-2026-102941
Debian:13golang-github-gomarkdown-markdownkein Fix bekanntDEBIAN-CVE-2026-102941
Debian:14golang-github-gomarkdown-markdown0.0~git20260725.8435af3-1DEBIAN-CVE-2026-102941
Docker Hardened Images:Alpine:3.23snykkein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Docker Hardened Images:Alpine:3.24temporalio-server-1.28kein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Docker Hardened Images:Alpine:3.24temporalio-server-1.28-devkein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Docker Hardened Images:Alpine:3.24temporalio-server-1.28-fipskein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Docker Hardened Images:Alpine:3.24temporalio-server-1.28-fips-devkein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Docker Hardened Images:Alpine:3.24temporalio-server-1.29kein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Docker Hardened Images:Alpine:3.24temporalio-server-1.29-devkein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Docker Hardened Images:Alpine:3.24temporalio-server-1.29-fipskein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Docker Hardened Images:Alpine:3.24temporalio-server-1.29-fips-devkein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Docker Hardened Images:Debian:13snykkein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Docker Hardened Images:Debian:13snyk-fipskein Fix bekanntDHI-4v2i-kx5w-ny5l-4xlr
Gogithub.com/gomarkdown/markdown0.0.0-20260724235538-61af6e1e6971GHSA-cv23-7vc5-jfh7
Ubuntu:24.04:LTSgolang-github-gomarkdown-markdownkein Fix bekanntUBUNTU-CVE-2026-102941
Ubuntu:26.04:LTSgolang-github-gomarkdown-markdownkein Fix bekanntUBUNTU-CVE-2026-102941

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.