HighGHSA-3xh2-74w9-5vxmCVE-2020-27813GHSA-jf24-p9p9-4rjhGO-2020-0019
Integer overflow in github.com/gorilla/websocket
Published 18 May 2021 · Updated 8 Nov 2023
Is your project on an affected github.com/gorilla/websocket?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.4.1
- Fixed in
- 1.4.1
Update to the fixed version for your release line, for example:
go get github.com/gorilla/websocket@v1.4.1Details
An integer overflow vulnerability exists with the length of websocket frames received via a websocket connection. An attacker would use this flaw to cause a denial of service attack on an HTTP Server allowing websocket connections.
Is GHSA-3xh2-74w9-5vxm in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/gorilla/websocket, and gives you the command that fixes it.
More advisories for github.com/gorilla/websocket
- LowGO-2026-6278Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key in github.com/gorilla/websocket · 25 Aug 2026
- MediumGHSA-w67g-5rqw-f597Gorilla WebSocket Uses Cryptographically Weak PRNG for WebSocket Mask Key · 24 Aug 2026
References
- Linkgithub.com/gorilla/websocket/security/advisories/GHSA-jf24-p9p9-4rjh
- Advisorynvd.nist.gov/vuln/detail/CVE-2020-27813
- Linkgithub.com/gorilla/websocket/pull/537
- Linkgithub.com/gorilla/websocket/commit/5b740c29263eb386f33f265561c8262522f19d37
- Linkbugzilla.redhat.com/show_bug.cgi?id=1902111
- Packagegithub.com/gorilla/websocket
- Linklists.debian.org/debian-lts-announce/2021/01/msg00008.html
- Linkpkg.go.dev/vuln/GO-2020-0019
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.