{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2021-4236", "ASSIGNER": "security@golang.org", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-400: Uncontrolled Resource Consumption" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "github.com/ecnepsnai/web", "product": { "product_data": [ { "product_name": "github.com/ecnepsnai/web", "version": { "version_data": [ { "version_affected": "<", "version_name": "1.4.0", "version_value": "1.5.2" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f", "refsource": "MISC", "name": "https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f" }, { "url": "https://pkg.go.dev/vuln/GO-2021-0107", "refsource": "MISC", "name": "https://pkg.go.dev/vuln/GO-2021-0107" } ] } }