{ "schema_version": "1.4.0", "id": "GHSA-jpgg-cp2x-qrw3", "modified": "2023-08-29T18:58:37Z", "published": "2022-12-28T00:30:23Z", "aliases": [ "CVE-2021-4236" ], "summary": "ecnepsnai/web vulnerable to Uncontrolled Resource Consumption", "details": "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "Go", "name": "github.com/ecnepsnai/web" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "1.4.0" }, { "fixed": "1.5.2" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4236" }, { "type": "WEB", "url": "https://github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f" }, { "type": "PACKAGE", "url": "https://github.com/ecnepsnai/web" }, { "type": "WEB", "url": "https://pkg.go.dev/vuln/GO-2021-0107" } ], "database_specific": { "cwe_ids": [ "CWE-400", "CWE-476" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2022-12-30T18:54:08Z", "nvd_published_at": "2022-12-27T22:15:00Z" } }