gorilla/websocket · Security
Integer overflow in github.com/gorilla/websocket
- GHSA ID
- GHSA-3xh2-74w9-5vxm
- CVE ID
- CVE-2020-27813
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
CWEs
- CWE-190 · Integer Overflow or Wraparound
- CWE-400 · Uncontrolled Resource Consumption
References
- https://github.com/gorilla/websocket/security/advisories/GHSA-jf24-p9p9-4rjh ↗
- https://nvd.nist.gov/vuln/detail/CVE-2020-27813 ↗
- https://github.com/gorilla/websocket/pull/537 ↗
- https://github.com/gorilla/websocket/commit/5b740c29263eb386f33f265561c8262522f19d37 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=1902111 ↗
- https://lists.debian.org/debian-lts-announce/2021/01/msg00008.html ↗
- https://pkg.go.dev/vuln/GO-2020-0019 ↗
- https://github.com/advisories/GHSA-3xh2-74w9-5vxm ↗