{"id":"CVE-2021-4236","aliases":["GHSA-5gjg-jgh4-gppm","GHSA-jpgg-cp2x-qrw3","GO-2021-0107"],"url":"https://o3.security/vulnerability/CVE-2021-4236","summary":"Websocket requests did not call AuthenticateMethod","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. This issue only affects WebSockets with an AuthenticateMethod hook. Request handlers that do not explicitly use WebSockets are not vulnerable.","published":"2022-12-27T22:15:12.013Z","modified":"2026-07-09T06:35:36.625507Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Go","name":"github.com/ecnepsnai/web","fixedVersion":"1.5.2"}],"fix":{"url":"https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f","label":"ecnepsnai/web@5a78f8d"},"references":[{"type":"FIX","url":"https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f"},{"type":"FIX","url":"https://pkg.go.dev/vuln/GO-2021-0107"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T06:35:36.625507Z"}}