Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | golang-github-gorilla-websocket | github.com/gorilla/websocket v1.4.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 10 | golang-websocket | 1.4.0-1+deb10u1 | DLA-3420-1 |
| Debian 9 | golang-websocket | 1.1.0-1+deb9u1 | DLA-2520-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | golang-websocket | No fix yet | — |
| Ubuntu 20.04 LTS | golang-websocket | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | golang-websocket | 1.2.0-1ubuntu2+esm1 | USN-6208-1 |
| Ubuntu Pro 16.04 LTS | golang-websocket | 0.0~git20150811.0.b6ab76f-1ubuntu0.1~esm1 | USN-6208-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 3 | atomic-openshift-cluster-autoscaler | 3.11.404-1.git.0.2c258fe.el7 | RHSA-2021:0833 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/gorilla/websocket | < 1.4.1 | 1.4.1 | GHSA-3xh2-74w9-5vxm |
Advisories 5
- RHSA-2021:0833 Red Hat Security Advisory: OpenShift Container Platform 3.11.404 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- USN-6208-1 golang-websocket vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- WID-SEC-2022-0510 IBM DB2: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
- DLA-3420-1 golang-websocket - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2520-1 golang-websocket - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1902111
- https://github.com/gorilla/websocket/security/advisories/GHSA-jf24-p9p9-4rjh
- [debian-lts-announce] 20210106 [SECURITY] [DLA 2520-1] golang-websocket security update mailing-list
- [debian-lts-announce] 20230513 [SECURITY] [DLA 3420-1] golang-websocket security update mailing-list