Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gorilla/websocket
  4. ›
  5. CVE-2020-27813

CVE-2020-27813: Integer Overflow or Wraparound

December 2, 2020 (updated February 25, 2021)

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

  • bugzilla.redhat.com/show_bug.cgi?id=1902111
  • nvd.nist.gov/vuln/detail/CVE-2020-27813

Code Behaviors & Features

Detect and mitigate CVE-2020-27813 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.1

Fixed versions

  • v1.4.1

Solution

Upgrade to version 1.4.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-190: Integer Overflow or Wraparound
  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/gorilla/websocket/CVE-2020-27813.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:52 +0000.