CVE-2021-4236

Panic or authentication bypass in github.com/ecnepsnai/web

State
Published
Severity
9.8 Critical
Published
Dec 27, 2022
Updated
Apr 11, 2025
Reserved
Jul 29, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
github.com/ecnepsnai/webgithub.com/ecnepsnai/web
  • 1.4.0 to before 1.5.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.