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.
References
Link Resource
https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f Patch Third Party Advisory
https://pkg.go.dev/vuln/GO-2021-0107 Exploit Patch Third Party Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: Go

Published: 2022-12-27T21:13:45.711Z

Updated: 2023-06-12T19:04:11.139Z

Reserved: 2022-07-29T19:01:04.923Z


Link: CVE-2021-4236

JSON object: View

cve-icon NVD Information

Status : Modified

Published: 2022-12-27T22:15:12.013

Modified: 2023-11-07T03:40:24.920


Link: CVE-2021-4236

JSON object: View

cve-icon Redhat Information

No data.

CWE