GO-2021-0107
Dashboard / Vulnerabilities / GO-2021-0107
GO-2021-0107
Published: 28 Jul 2021Last Modified: 20 May 2024
Summary: Panic or authentication bypass in github.com/ecnepsnai/web
Details: 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 packages
Package
Name: github.com/ecnepsnai/web
Purl: pkg:golang/github.com/ecnepsnai/web
Affected ranges
Type: SEMVER
Events:
Introduced- 1.4.0
Fixed -1.5.2
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
