Integer Overflow or Wraparound Affecting golang-websocket package, versions <1.2.0-1ubuntu2+esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.19% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-GOLANGWEBSOCKET-1048228
  • published4 Dec 2020
  • disclosed2 Dec 2020

Introduced: 2 Dec 2020

CVE-2020-27813  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 golang-websocket to version 1.2.0-1ubuntu2+esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-websocket package and not the golang-websocket package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1