Skip to main content
← All vulnerabilities
CVE-2021-4236GHSA-5GJG-JGH4-GPPMGHSA-JPGG-CP2X-QRW3GO-2021-0107

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • github.com/ecnepsnai/web

    From 1.4.0 · fixed in 1.5.2

  • github.com/ecnepsnai/webGo

    From 1.4.0 · fixed in 1.5.2

References 2

GitHub · ecnepsnai/web

pkg.go.dev