Skip to content
OpenAdvisories
High · 7.5 CVE-2020-27813 EUVD-2021-0926GHSA-3xh2-74w9-5vxmGHSA-jf24-p9p9-4rjhGO-2020-0019

Integer overflow in github.com/gorilla/websocket

Published Dec 2, 2020 · Updated Aug 4, 2024 · Assigned by redhat

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
Debian 10 golang-websocket 1.4.0-1+deb10u1 DLA-3420-1
Debian 9 golang-websocket 1.1.0-1+deb9u1 DLA-2520-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
Red Hat OpenShift 3 atomic-openshift-cluster-autoscaler 3.11.404-1.git.0.2c258fe.el7 RHSA-2021:0833

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/gorilla/websocket < 1.4.1 1.4.1 GHSA-3xh2-74w9-5vxm

Advisories 5

References