Paper/Archive/CVE-2021-4236

CVE-2021-4236

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

Description · from the CVE record

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

ProductAffectedFixed inSource
github.com/ecnepsnai/web1.4.0 – < 1.5.21.5.2CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgithub.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002frefpkg.go.dev/vuln/GO-2021-0107