ADVISORIES

Go Vulnerability Database

GO-2020-0019

Integer overflow in github.com/gorilla/websocket

Details

An attacker can craft malicious WebSocket frames that cause an integer overflow in a variable which tracks the number of bytes remaining. This may cause the server or client to get stuck attempting to read frames in a loop, which can be used as a denial of service vector.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/gorilla/websocket
All versions before 1.4.1 (fixed in 1.4.1)

References