Panic or authentication bypass in github.com/ecnepsnai/web
CVE-2021-4236

9.8CRITICAL

Key Information:

Vendor
CVE Published:
27 December 2022

What is 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.

Affected Version(s)

github.com/ecnepsnai/web 1.4.0 < 1.5.2

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2021-4236 : Panic or authentication bypass in github.com/ecnepsnai/web