blob: 0acb80c076f5228773cb5ac7365d36989b9c1eab [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2021-0107",
"modified": "0001-01-01T00:00:00Z",
"published": "2021-07-28T18:08:05Z",
"aliases": [
"CVE-2021-4236",
"GHSA-5gjg-jgh4-gppm",
"GHSA-jpgg-cp2x-qrw3"
],
"summary": "Panic or authentication bypass in github.com/ecnepsnai/web",
"details": "Web Sockets do not execute any AuthenticateMethod methods which may be set, leading to a nil pointer dereference if the returned UserData pointer is assumed to be non-nil, or authentication bypass.\n\nThis issue only affects WebSockets with an AuthenticateMethod hook. Request handlers that do not explicitly use WebSockets are not vulnerable.",
"affected": [
{
"package": {
"name": "github.com/ecnepsnai/web",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.4.0"
},
{
"fixed": "1.5.2"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/ecnepsnai/web",
"symbols": [
"Server.Socket",
"Server.socketHandler"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2021-0107",
"review_status": "REVIEWED"
}
}