CVE-2020-27813
HIGH 7.5CVSS 3.1Integer overflow in github.com/gorilla/websocket
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.
- Published
- 2 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-190CWE-400
- Also known as
- GHSA-3xh2-74w9-5vxmGHSA-jf24-p9p9-4rjhGO-2020-0019
- Sources
- NVDJSONOSV GHSA-3xh2-74w9-5vxmJSONOSV GO-2020-0019JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gorillatoolkit | websocketcpe:2.3:a:gorillatoolkit:websocket:*:*:*:*:*:*:*:* |
< 1.4.1 | 1.4.1 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | Go | github.com/gorilla/websocket | < 1.4.1 | 1.4.1 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1902111 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/gorilla/websocket/security/advisories/GHSA-jf24-p9p9-4rjh · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/01/msg00008.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/05/msg00012.html
- https://nvd.nist.gov/vuln/detail/CVE-2020-27813 · ADVISORY
- https://github.com/gorilla/websocket/pull/537 · WEB, FIX
- https://github.com/gorilla/websocket/commit/5b740c29263eb386f33f265561c8262522f19d37 · WEB, FIX
- https://github.com/gorilla/websocket · PACKAGE
- https://pkg.go.dev/vuln/GO-2020-0019 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 May 2021)