NULL pointer dereference in Github.com/ecnepsnai/web

CVE-2021-4236

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.011 (64.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 64.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-4236: held from 0.011 to 0.011.

EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-4236?
CVE-2021-4236 is a critical-severity vulnerability in Github.com/ecnepsnai/web, classified under NULL Pointer Dereference. CVSS score: 9.8/10. Published 2022-12-27.
How severe is CVE-2021-4236?
Critical severity. CVSS v3 base score is 9.8 out of 10.