CVE-2021-4236
published critical CVSS 3.1 · 9.8Panic or authentication bypass in github.com/ecnepsnai/web
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| github.com/ecnepsnai/web | — | github.com/ecnepsnai/web1.4.0 to < 1.5.2 · Other versions: unaffected | Affected | Not stated | Go |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| github.com/ecnepsnai/web | github.com/ecnepsnai/web | 1.4.0 to < 1.5.2 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
2Provider assertions
3Go · cna
Panic or authentication bypass in github.com/ecnepsnai/web
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 47aea5b98e8e4aaa39fa15f1552a1f8e015ee4d892f68140cefbd21d9fcc5af8
- Ingested
- 23 Sep 2026, 07:57:18 UTC
- Source record
- Official CVE record