Loading advisory.
Loading advisory.
Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key
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.
Published 2026-08-24 21:00 UTC · Modified 2026-11-23 20:30 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/gorilla/websocket | Go | < 1.5.3 < 1.5.1 >= 1.5.3, < 1.5.4-0.20240701034025-d67f41855da4 | 1.5.3, 1.5.1, 1.5.4-0.20240701034025-d67f41855da4 | go get github.com/gorilla/websocket@v1.5.3go get github.com/gorilla/websocket@v1.5.1go get github.com/gorilla/websocket@v1.5.4-0.20240701034025-d67f41855da4 |
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
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
No EPSS history yet. Either the CVE has no score or the scores have not been fetched.