CVE-2020-27813
golang-github-gorilla-websocket: integer overflow leads to denial of service
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-190, CWE-400
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | github.com/gorilla/websocket | <1.4.1 | 1.4.1 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
Red Hat 2 releases · 2 packages
fixed 1
wont fix 1
atomic-openshift-cluster-autoscaler
servicemesh-grafana
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | atomic-openshift-cluster-autoscaler | 0:3.11.404-1.git.0.2c258fe.el7 | RHSA-2021:0833 |
| 8 | servicemesh-grafana +1 | wont fix | — |
debian 2 releases · 1 package
fixed 2
golang-websocket
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-websocket | 1.4.0-1+deb10u1 |
| 9 | golang-websocket | 1.1.0-1+deb9u1 |
ubuntu 1 release · 1 package
fixed 1
golang-websocket
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | golang-websocket | 1.2.0-1ubuntu2+esm1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-27813
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1902111
- github.com https://github.com/gorilla/websocket
- github.com https://github.com/gorilla/websocket/commit/5b740c29263eb386f33f265561c8262522f19d37
- github.com https://github.com/gorilla/websocket/pull/537
- github.com https://github.com/gorilla/websocket/security/advisories/GHSA-jf24-p9p9-4rjh
- lists.debian.org https://lists.debian.org/debian-lts-announce/2021/01/msg00008.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/05/msg00012.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-27813
- pkg.go.dev https://pkg.go.dev/vuln/GO-2020-0019
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.