CVE-2020-27813 Integer overflow in github.com/gorilla/websocket
An integer overflow in the Gorilla WebSocket library allows attackers to cause a denial of service on HTTP servers handling websocket connections.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-27813?
CVE-2020-27813 is a high-severity vulnerability in Debian Debian Linux, published on 2 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2020-27813?
3 open source packages ship an affected version, including github.com/gorilla/websocket. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
github.com/gorilla/websocket Go | All versions | 1.4.1 |
github.com/gorilla/websocket Go | All versions | 1.4.1 |
github.com/gorilla/websocket Go | All versions | 1.4.1 |
Linux distribution packages (1)
atomic-openshift-cluster-autoscaler Red Hat:openshift:3.11::el7 | All versions | 0:3.11.404-1.git.0.2c258fe.el7 |
Products include Debian Debian Linux, Gorillatoolkit Websocket.
How do I fix CVE-2020-27813?
Upgrade github.com/gorilla/websocket to 1.4.1 or later.
Is CVE-2020-27813 being exploited?
There is no known exploitation of CVE-2020-27813 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DLA-2520-1, DLA-3420-1, GHSA-3xh2-74w9-5vxm, GHSA-jf24-p9p9-4rjh, GO-2020-0019, RHSA-2021:0833 and 2 more.