ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 1 ecosystem.

Critical severity Go 3

Advisories

  • GHSA-5gjg-jgh4-gppm

    Websocket requests did not call AuthenticateMethod

    Critical CVE-2021-4236 Go Updated 3 February 2026
  • GHSA-jpgg-cp2x-qrw3

    Duplicate Advisory: ecnepsnai/web vulnerable to Uncontrolled Resource Consumption

    Critical CVE-2021-4236 Go Updated 3 February 2026
  • GO-2021-0107

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

    CVE-2021-4236 Go Updated 20 May 2024

References