CVE-2020-27813
Go packages · CVE-2020-27813
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.188% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:28.415Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:38.896Z | OSV |
| affected | verified | 2026-11-19T12:55:33.368Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:33.368Z | CVE Program |
Affected versions and configuration
n/a golang-github-gorilla-websocket; default status: unknown: github.com/gorilla/websocket v1.4.1 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "golang-github-gorilla-websocket",
"versions": [
{
"status": "affected",
"version": "github.com/gorilla/websocket v1.4.1"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1902111",
"tags": [
"x_transferred"
]
},
{
"url": "https://github.com/gorilla/websocket/security/advisories/GHSA-jf24-p9p9-4rjh",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2021/01/msg00008.html",
"name": "[debian-lts-announce] 20210106 [SECURITY] [DLA 2520-1] golang-websocket security update",
"tags": [
"mailing-list",
"x_transferred"
]
},
{
"url": "https://lists.debian.org/debian-lts-announce/2023/05/msg00012.html",
"name": "[debian-lts-announce] 20230513 [SECURITY] [DLA 3420-1] golang-websocket security update",
"tags": [
"mailing-list",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T16:25:44.139Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-3xh2-74w9-5vxm",
"aliases": [
"CVE-2020-27813",
"GHSA-jf24-p9p9-4rjh",
"GO-2020-0019"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.1"
}
]
}
],
"package": {
"name": "github.com/gorilla/websocket",
"purl": "pkg:golang/github.com/gorilla/websocket",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-3xh2-74w9-5vxm/GHSA-3xh2-74w9-5vxm.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/gorilla/websocket/security/advisories/GHSA-jf24-p9p9-4rjh",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-27813",
"type": "ADVISORY"
},
{
"url": "https://github.com/gorilla/websocket/pull/537",
"type": "WEB"
},
{
"url": "https://github.com/gorilla/websocket/commit/5b740c29263eb386f33f265561c8262522f19d37",
"type": "WEB"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1902111",
"type": "WEB"
},
{
"url": "https://github.com/gorilla/websocket",
"type": "PACKAGE"
},
{
"url": "https://lists.debian.org/debian-lts-announce/2021/01/msg00008.html",
"type": "WEB"
},
{
"url": "https://pkg.go.dev/vuln/GO-2020-0019",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-190",
"CWE-400"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2020-12-02T01:15:12Z",
"github_reviewed_at": "2021-05-18T20:56:17Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GO-2020-0019",
"aliases": [
"CVE-2020-27813",
"GHSA-3xh2-74w9-5vxm",
"GHSA-jf24-p9p9-4rjh"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.1"
}
]
}
],
"package": {
"name": "github.com/gorilla/websocket",
"purl": "pkg:golang/github.com/gorilla/websocket",
"ecosystem": "Go"
},
"versions": [],
"database_specific": {
"source": "https://vuln.go.dev/ID/GO-2020-0019.json"
},
"ecosystem_specific": {
"imports": [
{
"path": "github.com/gorilla/websocket",
"symbols": [
"Conn.Close",
"Conn.NextReader",
"Conn.NextWriter",
"Conn.ReadJSON",
"Conn.ReadMessage",
"Conn.WriteControl",
"Conn.WriteJSON",
"Conn.WriteMessage",
"Conn.WritePreparedMessage",
"Conn.advanceFrame",
"Dialer.Dial",
"Dialer.DialContext",
"NewClient",
"NewPreparedMessage",
"ReadJSON",
"Subprotocols",
"Upgrade",
"Upgrader.Upgrade",
"WriteJSON",
"flateReadWrapper.Read",
"flateWriteWrapper.Close",
"flateWriteWrapper.Write",
"httpProxyDialer.Dial",
"messageReader.Read",
"messageWriter.Close",
"messageWriter.ReadFrom",
"messageWriter.Write",
"messageWriter.WriteString",
"netDialerFunc.Dial",
"proxy_direct.Dial",
"proxy_envOnce.Get",
"proxy_socks5.Dial",
"truncWriter.Write"
]
}
]
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/gorilla/websocket/pull/537",
"type": "FIX"
},
{
"url": "https://github.com/gorilla/websocket/commit/5b740c29263eb386f33f265561c8262522f19d37",
"type": "FIX"
}
],
"relatedGitRanges": [],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2020-0019",
"review_status": "REVIEWED"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Go / package | github.com/gorilla/websocket | Not a distribution channel | 1.4.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:38.896ZArchived source JSON
Source publication: 2021-05-18T21:08:02.000Z
Source modification: 2023-11-08T04:03:22.368ZDocument fingerprint
2f5a776fffd44a71fb9ca8b566381cc9463fbc88da547e42c1d9d6ee1a46c492 - OSVConsulted: 2026-11-19T12:52:38.896ZArchived source JSON
Source publication: 2021-04-14T20:04:52.000Z
Source modification: 2024-05-20T16:03:47.000ZDocument fingerprint
2f5a776fffd44a71fb9ca8b566381cc9463fbc88da547e42c1d9d6ee1a46c492 - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:33.368ZArchived source JSON
Source publication: 2020-12-02T00:00:00.000Z
Source modification: 2024-08-04T16:25:44.139ZDocument fingerprint
42719e823316cf3958b1fce2300a2f608b3c04c6567a1752b25ddc0fb1d67f18 - FIRST EPSSConsulted: 2026-11-19T16:04:28.415ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
39bea3af22058b676b5ebbef9d577de9e9401bcbe0faa29a2491380e8c5f063c
Official status history
- UNKNOWN → PUBLISHED · · evidence