Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/ecnepsnai/web
  4. ›
  5. GHSA-jpgg-cp2x-qrw3

GHSA-jpgg-cp2x-qrw3: Duplicate Advisory: ecnepsnai/web vulnerable to Uncontrolled Resource Consumption

December 28, 2022 (updated January 23, 2026)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-5gjg-jgh4-gppm. This link is maintained to preserve external references.

Original Description

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.

References

  • github.com/advisories/GHSA-jpgg-cp2x-qrw3
  • github.com/ecnepsnai/web
  • github.com/ecnepsnai/web/commit/5a78f8d5c41ce60dcf9f61aaf47a7a8dc3e0002f
  • nvd.nist.gov/vuln/detail/CVE-2021-4236
  • pkg.go.dev/vuln/GO-2021-0107

Code Behaviors & Features

Detect and mitigate GHSA-jpgg-cp2x-qrw3 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.4.0 before 1.5.2

Fixed versions

  • 1.5.2

Solution

Upgrade to version 1.5.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-476: NULL Pointer Dereference

Source file

go/github.com/ecnepsnai/web/GHSA-jpgg-cp2x-qrw3.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 05 Feb 2026 00:17:06 +0000.