{"id":"CVE-2020-27813","aliases":["DEBIAN-CVE-2020-27813","DLA-2520-1","DLA-3420-1","EUVD-2021-0926","GHSA-3xh2-74w9-5vxm","GHSA-jf24-p9p9-4rjh","GO-2020-0019","RHSA-2021:0833","UBUNTU-CVE-2020-27813","USN-6208-1"],"status":"published","title":"Integer overflow in github.com/gorilla/websocket","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.02188,"percentile":0.82675,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190","CWE-400"],"published":"2020-12-02T00:00:00Z","modified":"2026-10-20T10:53:01Z","fixes":[{"ecosystem":"Go","package":"github.com/gorilla/websocket","fixed_in":["1.4.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:9","package":"golang-websocket","fixed_in":["1.1.0-1+deb9u1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"golang-websocket","fixed_in":["1.4.0-1+deb10u1"],"sources":["osv"]},{"ecosystem":"Red Hat:openshift:3.11::el7","package":"atomic-openshift-cluster-autoscaler","fixed_in":["0:3.11.404-1.git.0.2c258fe.el7"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"golang-websocket","fixed_in":["0.0~git20150811.0.b6ab76f-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"golang-websocket","fixed_in":["1.2.0-1ubuntu2+esm1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/gorilla/websocket","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.1"}]}]},{"source":"osv","ecosystem":"Debian:9","package":"golang-websocket","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0-1+deb9u1"}]}],"versions":["1.1.0-1"]},{"source":"osv","ecosystem":"Debian:10","package":"golang-websocket","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0-1+deb10u1"}]}],"versions":["1.4.0-1"]},{"source":"osv","ecosystem":"Go","package":"github.com/gorilla/websocket","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/gorilla/websocket","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.1"}]}]},{"source":"osv","ecosystem":"Red Hat:openshift:3.11::el7","package":"atomic-openshift-cluster-autoscaler","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.11.404-1.git.0.2c258fe.el7"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"golang-websocket","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0~git20150811.0.b6ab76f-1ubuntu0.1~esm1"}]}],"versions":["0.0~git20140119-1","0.0~git20150811.0.b6ab76f-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"golang-websocket","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-1ubuntu2+esm1"}]}],"versions":["1.2.0-1ubuntu1","1.2.0-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"golang-websocket","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.0-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"golang-websocket","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.0-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"golang-websocket","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0~git20150811.0.b6ab76f-1ubuntu0.1~esm1"}]}],"versions":["0.0~git20140119-1","0.0~git20150811.0.b6ab76f-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"golang-websocket","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0-1ubuntu2+esm1"}]}],"versions":["1.2.0-1ubuntu1","1.2.0-1ubuntu2"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"gorillatoolkit","product":"websocket"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1902111","tags":["x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/gorilla/websocket/security/advisories/GHSA-jf24-p9p9-4rjh","tags":["x_transferred","Third Party Advisory","advisory","web","article","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00008.html","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/05/msg00012.html","tags":["mailing-list","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27813","tags":["advisory"]},{"url":"https://github.com/gorilla/websocket/pull/537","tags":["web","fix"]},{"url":"https://github.com/gorilla/websocket/commit/5b740c29263eb386f33f265561c8262522f19d37","tags":["web","fix"]},{"url":"https://pkg.go.dev/vuln/GO-2020-0019","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3xh2-74w9-5vxm"},{"url":"https://github.com/gorilla/websocket","tags":["package"]},{"url":"https://access.redhat.com/errata/RHSA-2021:0833","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1917013","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1933090","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1934136","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_0833.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-27813","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-27813","tags":["advisory","report"]},{"url":"https://ubuntu.com/security/CVE-2020-27813","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-6208-1","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2020-27813","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.","status":"published","published":"2020-12-02T00:00:00Z","modified":"2024-08-04T16:25:44.139Z","cwes":["CWE-190"],"updated_at":"2026-11-02T14:35:53.552996Z"}],"euvd":[{"id":"EUVD-2021-0926","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.","status":"published","published":"2020-12-02T00:00:00Z","modified":"2024-08-04T16:25:44Z","updated_at":"2026-11-03T03:07:10.69897Z"}],"ghsa":[{"id":"GHSA-3xh2-74w9-5vxm","title":"Integer overflow in github.com/gorilla/websocket","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.","status":"published","published":"2021-05-18T21:08:02Z","modified":"2023-11-04T05:00:50Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-190","CWE-400"],"updated_at":"2026-11-02T14:37:11.48574Z"}],"nvd":[{"id":"CVE-2020-27813","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.","status":"published","published":"2020-12-02T01:15:12.78Z","modified":"2026-06-17T03:09:40.23Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-190","CWE-400"],"updated_at":"2026-11-02T14:06:25.394006Z"}],"osv":[{"id":"CVE-2020-27813","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.","status":"published","published":"2020-12-02T01:15:12.78Z","modified":"2026-10-20T10:53:01.843071298Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:16.248747Z"},{"id":"GHSA-3xh2-74w9-5vxm","title":"Integer overflow in github.com/gorilla/websocket","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.","status":"published","published":"2021-05-18T21:08:02Z","modified":"2023-11-08T04:03:22.36847Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-190","CWE-400"],"updated_at":"2026-11-02T15:46:36.092962Z"},{"id":"RHSA-2021:0833","title":"Red Hat Security Advisory: OpenShift Container Platform 3.11.404 security and bug fix update","status":"published","published":"2024-09-14T00:42:24Z","modified":"2026-10-14T10:01:40Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:08.071325Z"},{"id":"UBUNTU-CVE-2020-27813","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.","status":"published","published":"2020-12-02T01:15:00Z","modified":"2026-02-04T03:06:41.806837Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:24.541803Z"},{"id":"DLA-2520-1","title":"golang-websocket - security update","status":"published","published":"2021-01-07T00:00:00Z","modified":"2026-03-09T01:18:16.777205Z","updated_at":"2026-11-02T15:46:10.712745Z"},{"id":"DLA-3420-1","title":"golang-websocket - security update","status":"published","published":"2023-05-14T00:00:00Z","modified":"2026-03-09T01:21:18.766572Z","updated_at":"2026-11-02T15:46:11.734021Z"},{"id":"GO-2020-0019","title":"Integer overflow in github.com/gorilla/websocket","description":"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.","status":"published","published":"2021-04-14T20:04:52Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:00.604718Z"},{"id":"USN-6208-1","title":"golang-websocket vulnerability","description":"It was discovered that Gorilla WebSocket incorrectly handled decoding WebSocket\nframes. An attacker could possibly use this issue to cause a crash, resulting\nin a denial of service.\n","status":"published","published":"2023-07-06T20:40:06Z","modified":"2026-06-25T13:31:04.430509895Z","updated_at":"2026-11-02T16:58:16.738762Z"}]}}
