CVE-2021-4236: Web Sockets do not execute any AuthenticateMethod methods which may be set, leading to a nil pointer dereferen
CVE-2021-4236 is a critical-severity flaw (CVSS 9.8) affecting web. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 32%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2022-12-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-4236?
web: upgrade to 1.5.2. Exact commands for each OS are on this page.
Is CVE-2021-4236 being exploited?
CVE-2021-4236 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-4236 affect?
CVE-2021-4236 affects web. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2021-4236?
Priority 61/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-2750 CRITICAL 9.1 UPGRADE Improper Input Validation vulnerability in Centreon Centreon Open Tickets on Central Server on Linux (Centreon
- CVE-2025-8220 HIGH 7.3 UPGRADE A vulnerability has been found in Engeman Web up to 12.0.0.2
- CVE-2018-25041 MEDIUM 6.3 MITIGATE A vulnerability was found in uTorrent
- CVE-2018-25040 MEDIUM 6.3 MITIGATE A vulnerability was found in uTorrent Web