{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-4236","published":"2022-12-27T22:15:12.013000Z","last_modified":"2026-06-17T04:19:19.493000Z","status":"Modified","cvss":{"version":"3.1","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-476"],"cpes":[{"criteria":"cpe:2.3:a:web_project:web:*:*:*:*:*:go:*:*","part":"a","vendor":"web_project","product":"web","version_start_including":"1.4.0","version_end_excluding":"1.5.2"}],"cpes_truncated":false,"vendors":["web_project"],"products":["web_project/web"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total"},"epss":{"score":0.01191,"percentile":0.67897,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-5gjg-jgh4-gppm","ecosystem":"Go","name":"github.com/ecnepsnai/web","purl":"pkg:golang/github.com/ecnepsnai/web","ranges":[{"introduced":"1.4.0","fixed":"1.5.2"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2021-0107","ecosystem":"Go","name":"github.com/ecnepsnai/web","purl":"pkg:golang/github.com/ecnepsnai/web","ranges":[{"introduced":"1.4.0","fixed":"1.5.2"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2021-4236/","html_en":"/en/cve/CVE-2021-4236/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-4236","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-4236"},"untrusted":{"vendor_name":"Web Project","product_name":"Web","desc_en":"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.","affected":[{"untrusted_vendor":"github.com/ecnepsnai/web","untrusted_product":"github.com/ecnepsnai/web","versions":[]}],"references":[{"url":"https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f","tags":["Patch","Third Party Advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0107","tags":["Exploit","Patch","Third Party Advisory"]}]}}