Critical severity9.8NVD Advisory· Published Dec 27, 2022· Updated Jun 17, 2026
CVE-2021-4236
CVE-2021-4236
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/ecnepsnai/webGo | >= 1.4.0, < 1.5.2 | 1.5.2 |
Affected products
3- github.com/ecnepsnai/web/github.com/ecnepsnai/webv5Range: 1.4.0
Patches
Vulnerability mechanics
References
5- github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002fnvdPatchThird Party AdvisoryWEB
- pkg.go.dev/vuln/GO-2021-0107nvdExploitPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-5gjg-jgh4-gppmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-4236ghsaADVISORY
- github.com/ecnepsnai/web/security/advisories/GHSA-5gjg-jgh4-gppmghsaWEB
News mentions
0No linked articles in our index yet.