CVE-2021-4236 – github.com/ecnepsnai/web
Package
Manager: go
Name: github.com/ecnepsnai/web
Vulnerable Version: >=1.4.0 <1.5.2
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00027 pctl0.05976
Details
ecnepsnai/web vulnerable to Uncontrolled Resource Consumption 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.
Metadata
Created: 2022-12-28T00:30:23Z
Modified: 2023-08-29T18:58:37Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-jpgg-cp2x-qrw3/GHSA-jpgg-cp2x-qrw3.json
CWE IDs: ["CWE-400", "CWE-476"]
Alternative ID: GHSA-jpgg-cp2x-qrw3
Finding: F002
Auto approve: 1