Integer Overflow or Wraparound Affecting golang-websocket package, versions <0.0~git20150811.0.b6ab76f-1ubuntu0.1~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-UBUNTU1604-GOLANGWEBSOCKET-1048231
  • 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:16.04 golang-websocket to version 0.0git20150811.0.b6ab76f-1ubuntu0.1esm1 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:16.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