CVE-2021-4236
Summary
| CVE | CVE-2021-4236 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-12-27 22:15:00 UTC |
| Updated | 2023-11-07 03:40:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-476
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Web Project | Web | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| GO-2021-0107 - Go Packages | MISC | pkg.go.dev | |
| Fix: websocket requests were not authenticated · ecnepsnai/web@5a78f8d · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.