CVE-2021-4236 Panic or authentication bypass in github.com/ecnepsnai/web
CriticalCVSS 9.8
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ecnepsnai github.com/ecnepsnai/web(Go) | >= 1.4.0, < 1.5.2 | 1.5.2 | Fixed |
| web project web | >= 1.4.0, < 1.5.2 | 1.5.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ecnepsnai github.com/ecnepsnai/web(Go) | >= 1.4.0, < 1.5.2 | 1.5.2 |
| web project web | >= 1.4.0, < 1.5.2 | 1.5.2 |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com product
- pkg.go.dev exploit patch third-party-advisory
- github.com
- github.com