Vulnerability

CVE-2021-4236

criticalCVSS 3.1 9.8Published 27 Dec 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Web Project web

Weakness type

References

  • github.com /ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e00…
  • pkg.go.dev /vuln/GO-2021-0107

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning