GHSA-jpgg-cp2x-qrw3: Duplicate Advisory Remote Code Execution Vulnerability

CRITICAL
CVSS 9.8
CWE-400 CWE-476
Published
Advisory Summary

GHSA-jpgg-cp2x-qrw3 is a CRITICAL (CVSS 9.8) remote code execution vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves ecnepsnai/web vulnerable to uncontrolled resource consumption. Remediation is available by upgrading affected packages to version 1.5.2.

GHSA-jpgg-cp2x-qrw3 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-jpgg-cp2x-qrw3
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Duplicate Advisory
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-jpgg-cp2x-qrw3

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/ecnepsnai/web fixed: 1.5.2
Upgrade github.com/ecnepsnai/web to 1.5.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/ecnepsnai/web

How to Check if You Are Affected

To determine whether your application is affected by GHSA-jpgg-cp2x-qrw3, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for github.com/ecnepsnai/web

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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.

GHSA-jpgg-cp2x-qrw3 Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
1.5.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/ecnepsnai/web
Go
≥ 1.4.0
< 1.5.2
1.5.2

References

Frequently Asked Questions

What is GHSA-jpgg-cp2x-qrw3?
GHSA-jpgg-cp2x-qrw3 is a security vulnerability in Duplicate Advisory involving ecnepsnai/web vulnerable to Uncontrolled Resource Consumption under CWE-400: Uncontrolled Resource Consumption.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 1.5.2 across affected packages: github.com/ecnepsnai/web.
What version fixes GHSA-jpgg-cp2x-qrw3?
Upgrading to 1.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/ecnepsnai/web affected?
Yes, github.com/ecnepsnai/web is affected in releases prior to 1.5.2. Upgrade your dependency to 1.5.2 or later.
What is the CVSS score of GHSA-jpgg-cp2x-qrw3?
GHSA-jpgg-cp2x-qrw3 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-jpgg-cp2x-qrw3?
GHSA-jpgg-cp2x-qrw3 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Go dependencies for GHSA-jpgg-cp2x-qrw3?
Run the dependency tree command: 'inspect dependencies for github.com/ecnepsnai/web'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jpgg-cp2x-qrw3",
  "modified" : "2026-01-23T22:35:48Z",
  "published" : "2022-12-28T00:30:23Z",
  "withdrawn" : "2026-01-23T22:35:48Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: ecnepsnai/web vulnerable to Uncontrolled Resource Consumption",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-5gjg-jgh4-gppm. This link is maintained to preserve external references.\n\n## Original Description\nWeb 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"
  }
}