{"cve":"CVE-2021-4236","nvd":{"published":"2022-12-27T22:15:12.013","modified":"2026-06-17T04:19:19.493","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-476"],"references":["https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f","https://pkg.go.dev/vuln/GO-2021-0107","https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f","https://pkg.go.dev/vuln/GO-2021-0107"],"products":["web_project:web"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2021-4236","score":0.01191,"percentile":0.67989,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5gjg-jgh4-gppm","url":"https://osv.dev/vulnerability/GHSA-5gjg-jgh4-gppm","summary":"Websocket requests did not call AuthenticateMethod","modified":"2026-02-03T03:08:03.985538Z","packages":[{"ecosystem":"Go","name":"github.com/ecnepsnai/web","purl":"pkg:golang/github.com/ecnepsnai/web","ranges":[">=1.4.0 <1.5.2"],"fixed":["1.5.2"]}]},{"id":"GO-2021-0107","url":"https://osv.dev/vulnerability/GO-2021-0107","summary":"Panic or authentication bypass in github.com/ecnepsnai/web","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/ecnepsnai/web","purl":"pkg:golang/github.com/ecnepsnai/web","ranges":[">=1.4.0 <1.5.2"],"fixed":["1.5.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}