Skip to content

Integer overflow in github.com/gorilla/websocket

High severity GitHub Reviewed Published May 18, 2021 to the GitHub Advisory Database • Updated Nov 4, 2023

Package

gomod github.com/gorilla/websocket (Go)

Affected versions

< 1.4.1

Patched versions

1.4.1

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.

References

Published by the National Vulnerability Database Dec 2, 2020
Reviewed May 18, 2021
Published to the GitHub Advisory Database May 18, 2021
Last updated Nov 4, 2023

Severity

High
7.5
/ 10

CVSS base metrics

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

CVE ID

CVE-2020-27813

GHSA ID

GHSA-3xh2-74w9-5vxm

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.