VulnPulse
높음취약점 권고GoGitHub

gomarkdown/markdown IsSafeURL panics on short URLs

影響: go:github.com/gomarkdown/markdown < 0.0.0-20260724235538-61af6e1e6971 → 0.0.0-20260724235538-61af6e1e6971

IsSafeURL slices url[:nPath] before checking that len(url) >= nPath, so a URL shorter than a path prefix (0, 1 or 2 bytes) triggers a slice-bounds panic, and this is reached end to end when the html.Safelink hardening flag is enabled and the input contains an empty or very short link destination, giving an unrecoverable crash DoS. Confirmed at HEAD (e08cff8; present since 2022). The defect parser/parser.go, IsSafeURL: go func IsSafeURL(url []byte) bool { nLink := len(url) for _, path :=…

GitHub Advisory Database에서 읽기

CVECVE-2026-102941
정보원GitHub Advisory Database
수집 시각2026. 10. 22. 오전 01:17
데이터Markdown JSON

2026. 10. 17. 오전 12:41, GitHub Advisory Database에서 "gomarkdown/markdown IsSafeURL panics on short URLs"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "높음"(high)입니다. 관련 기술: Go, GitHub. CVE: CVE-2026-102941.