github.com/ecnepsnai/web
Affected
- introduced
1.4.0, fixed1.5.2(semver)
Fixed versions
1.5.2
Fix
- Fixed version
1.5.2go get github.com/ecnepsnai/[email protected]
Advisory
Also known as: CVE-2021-4236, GHSA-5gjg-jgh4-gppm, GHSA-jpgg-cp2x-qrw3
Panic or authentication bypass in github.com/ecnepsnai/web
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.
Not rated by the source.
1.4.0, fixed 1.5.2 (semver)1.5.2
1.5.2go get github.com/ecnepsnai/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0