CVE-2020-27813
JSON

7.5high

Integer overflow in github.com/gorilla/websocket

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
2.19% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-3xh2-74w9-5vxmGHSA-jf24-p9p9-4rjhGO-2020-0019

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

Product or packageVersionsReported by
golang-github-gorilla-websocketgithub.com/gorilla/websocket v1.4.1CVE List
github.com/gorilla/websocket (Go)before 1.4.1GitHub Advisory Database, Go Vulnerability Database
gorillatoolkit websocketbefore 1.4.1NVD
debian debian_linux9.0NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

Go Vulnerability Database

An attacker can craft malicious WebSocket frames that cause an integer overflow in a variable which tracks the number of bytes remaining. This may cause the server or client to get stuck attempting to read frames in a loop, which can be used as a denial of service vector.

NVD (es)

Se presenta una vulnerabilidad de desbordamiento de enteros con la longitud de las tramas de websocket recibidos por medio de una conexión de websocket. Un atacante podría usar este fallo para causar un ataque de denegación de servicio en un Servidor HTTP permitiendo conexiones websocket

References

Sources

SourceRecordLicence
CVE ListCVE-2020-27813 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-3xh2-74w9-5vxm changed 2023-11-08CC-BY-4.0
Go Vulnerability DatabaseGO-2020-0019 changed 2024-05-20CC-BY-4.0
NVDCVE-2020-27813 changed 2026-06-17Public domain