#1024·websocket

已记录: math/rand → crypto/rand 修复掩码密钥问题 (CWE-338, 从未 CVE 过)

作者: canolgun创建于 2026年6月12日更新于 2026年8月25日

**不是零日漏洞 — 已在 v1.5.3 中修复。**记录了来自 commit d67f4185 的静默安全修复。\n\n- **发现:** 使用 math/rand 而不是 crypto/rand 生成的 WebSocket 面具密钥 (CWE-338)\n- **修复:** v1.5.3 (2024-06-14)\n- **建议:** https://GitHub.com/canolgun-commits/websocket/security/advisories/GHSA-w67g-5rqw-f597\n- **工具:** bounty-hunter v6.0

内容来源: gorilla/websocket