CVE-2021-4236

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:web_project:web:*:*:*:*:*:go:*:*

History

11 Apr 2025, 17:15

Type Values Removed Values Added
References (MISC) https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f - Patch, Third Party Advisory () https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f - Patch, Third Party Advisory
References (MISC) https://pkg.go.dev/vuln/GO-2021-0107 - Exploit, Patch, Third Party Advisory () https://pkg.go.dev/vuln/GO-2021-0107 - Exploit, Patch, Third Party Advisory

Information

Published : 2022-12-27 22:15

Updated : 2025-04-11 17:15


NVD link : CVE-2021-4236

Mitre link : CVE-2021-4236


JSON object : View

Products Affected

web_project

  • web
CWE
CWE-476

NULL Pointer Dereference