{"id":"DHI-hdn6-wogf-rhma-chh3","aliases":[],"title":"gorilla/websocket used `math/rand` (cryptographically weak pseudo-random number generator) to generate WebSocket frame…","originalDescription":"gorilla/websocket used `math/rand` (cryptographically weak pseudo-random number generator) to generate WebSocket frame mask keys prior to commit d67f4185. WebSocket masking keys MUST be unpredictable to prevent frame content injection attacks. math/rand produces deterministic output when seeded with a known value, enabling an attacker to predict or recover mask keys and inject content into WebSocket connections. **Type:** Use of Cryptographically Weak Pseudo-Random Number Generator **Fix:** Replaced math/rand with crypto/rand (commit d67f4185, released in v1.5.3) **Credit:** bounty-hunter v6.0 silent-fix detection","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://scout.docker.com/v/DHI-hdn6-wogf-rhma-chh3","type":"advisory"},{"url":"https://github.com/advisories/GHSA-w67g-5rqw-f597","type":"advisory"},{"url":"https://github.com/canolgun-commits/websocket/security/advisories/GHSA-w67g-5rqw-f597","type":"advisory"},{"url":"https://github.com/gorilla/websocket/commit/d67f41855da42d7bccd9ef050c49f7e54e783b95","type":"fix"},{"url":"https://github.com/gorilla/websocket/releases/tag/v1.5.3","type":"web"},{"url":"https://pkg.go.dev/vuln/GO-2026-6278","type":"advisory"}],"sources":[{"name":"osv","at":"2026-12-01T06:55:31.210Z","url":"https://osv.dev/vulnerability/DHI-hdn6-wogf-rhma-chh3","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T08:55:17.173Z"}],"firstSeenAt":"2026-11-21T08:55:17.173Z","publishedAt":"2026-11-20T19:41:50.000Z","modifiedAt":"2026-12-01T06:00:07.222Z"}