{"id":"GHSA-w67g-5rqw-f597","revision":null,"records":[{"revision":"c2e89d3e647045f7be4f89742f1a0487","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-w67g-5rqw-f597","aliases":["GO-2026-6278"],"title":"Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key","description":"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.\n\n**Type:** Use of Cryptographically Weak Pseudo-Random Number Generator\n**Fix:** Replaced math/rand with crypto/rand (commit d67f4185, released in v1.5.3)\n**Credit:** bounty-hunter v6.0 silent-fix detection","state":0,"publishedAt":"2026-08-24T21:00:54+00:00","modifiedAt":"2026-09-10T03:50:54.1285532+00:00","affected":[{"ecosystem":"Go","name":"github.com/gorilla/websocket","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.5.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/canolgun-commits/websocket/security/advisories/GHSA-w67g-5rqw-f597","https://github.com/gorilla/websocket/commit/d67f41855da42d7bccd9ef050c49f7e54e783b95","https://github.com/canolgun-commits/websocket","https://github.com/gorilla/websocket/releases/tag/v1.5.3"],"sourceUrl":"https://github.com/advisories/GHSA-w67g-5rqw-f597","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w67g-5rqw-f597","identifiers":["GHSA-w67g-5rqw-f597","GO-2026-6278"]},"retained":false,"historicalAffected":[]},{"revision":"659ccf9ec123400b85d9a33a492b381c","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6278","aliases":["GHSA-w67g-5rqw-f597"],"title":"Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket","description":"Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket","state":0,"publishedAt":"2026-08-25T15:00:08+00:00","modifiedAt":"2026-08-26T16:27:17.0597215+00:00","affected":[{"ecosystem":"Go","name":"github.com/gorilla/websocket","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.5.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/canolgun-commits/websocket/security/advisories/GHSA-w67g-5rqw-f597","https://github.com/gorilla/websocket/commit/d67f41855da42d7bccd9ef050c49f7e54e783b95","https://github.com/gorilla/websocket/releases/tag/v1.5.3"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6278","license":"OSV · upstream source license applies","key":"osv:GO-2026-6278","identifiers":["GO-2026-6278","GHSA-w67g-5rqw-f597"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T02:40:55.5499298+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T02:40:55.5499298+00:00","lastSuccessAt":"2026-11-16T02:40:55.7011971+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:55.701198+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-c752a1e051b8643685216373385073bf944fdf6392f01fe9214ca3f5c0dd4bf5","complete":true,"records":425877,"lastAttemptAt":"2026-11-16T02:40:54.3961015+00:00","lastSuccessAt":"2026-11-16T02:40:54.3873111+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:54.3961015+00:00","snapshotPublishedAt":"2026-11-16T02:27:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-c8efcdf585474f84baf9354ab84917e1","complete":false,"records":13821,"lastAttemptAt":"2026-11-16T02:50:41.5560063+00:00","lastSuccessAt":"2026-11-16T02:50:41.552+00:00","error":"53 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T02:50:41.552+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13821,"expectedIdentifiers":13874,"failedIdentifiers":53},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T02:40:55.5499298+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T02:40:55.5499298+00:00","lastSuccessAt":"2026-11-16T02:40:55.7026168+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:55.7026173+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-6af984755aaa43ed805ae31084d25516","complete":true,"records":13833,"lastAttemptAt":"2026-11-16T02:41:00.5806007+00:00","lastSuccessAt":"2026-11-16T02:41:00.576+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:41:00.576+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T02:40:55.0296372+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:55.0296372+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T02:40:54.5424991+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:54.5424991+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T02:40:55.4326019+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:55.4326019+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-e77c8ea93875d599a3ee92fde74c7150d1a28eacc697b92dc129baff6877c60e","complete":true,"records":232477,"lastAttemptAt":"2026-11-16T02:40:54.9249792+00:00","lastSuccessAt":"2026-11-16T01:07:48.2266333+00:00","error":null,"lastVerifiedAt":"2026-11-16T02:40:54.9249792+00:00","snapshotPublishedAt":"2026-11-16T01:03:09+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}