{ "id": "CVE-2021-4236", "sourceIdentifier": "security@golang.org", "published": "2022-12-27T22:15:12.013", "lastModified": "2023-01-05T04:48:44.317", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "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. This issue only affects WebSockets with an AuthenticateMethod hook. Request handlers that do not explicitly use WebSockets are not vulnerable." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-476" } ] }, { "source": "security@golang.org", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-400" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:web_project:web:*:*:*:*:*:go:*:*", "versionStartIncluding": "1.4.0", "versionEndExcluding": "1.5.2", "matchCriteriaId": "4F957C53-3F68-4128-B6FA-7685D4949E2B" } ] } ] } ], "references": [ { "url": "https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f", "source": "security@golang.org", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://pkg.go.dev/vuln/GO-2021-0107", "source": "security@golang.org", "tags": [ "Exploit", "Patch", "Third Party Advisory" ] } ] }