GHSA-vh9x-phq6-fx54: Duplicate Advisory Denial of Service Vulnerability

LOW
CWE-770
Published
Advisory Summary

GHSA-vh9x-phq6-fx54 is a LOW denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Duplicate Advisory libraries in the Go ecosystem. The issue involves denial of service via malicious preflight requests in github.com/rs/cors. Remediation is available by upgrading affected packages to version 1.11.0.

GHSA-vh9x-phq6-fx54 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-vh9x-phq6-fx54
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Duplicate Advisory
Package Ecosystem Go
Published Date
Last Updated

How to Fix GHSA-vh9x-phq6-fx54

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/rs/cors fixed: 1.11.0
Upgrade github.com/rs/cors to 1.11.0
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/rs/cors

How to Check if You Are Affected

To determine whether your application is affected by GHSA-vh9x-phq6-fx54, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for github.com/rs/cors

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.11.0), 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-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. 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-mh55-gqvf-xfwm. This link is maintained to preserve external references. ### Original Description Middleware causes a prohibitive amount of heap allocations when processing malicious preflight requests that include a Access-Control-Request-Headers (ACRH) header whose value contains many commas. This behavior can be abused by attackers to produce undue load on the middleware/server as an attempt to cause a denial of service.

GHSA-vh9x-phq6-fx54 Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
1.11.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/rs/cors
Go
≥ 1.9.0
< 1.11.0
1.11.0

References

Frequently Asked Questions

What is GHSA-vh9x-phq6-fx54?
GHSA-vh9x-phq6-fx54 is a security vulnerability in Duplicate Advisory involving Denial of service via malicious preflight requests in github.com/rs/cors under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 1.11.0 across affected packages: github.com/rs/cors.
What version fixes GHSA-vh9x-phq6-fx54?
Upgrading to 1.11.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/rs/cors affected?
Yes, github.com/rs/cors is affected in releases prior to 1.11.0. Upgrade your dependency to 1.11.0 or later.
What CWE is associated with GHSA-vh9x-phq6-fx54?
GHSA-vh9x-phq6-fx54 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check Go dependencies for GHSA-vh9x-phq6-fx54?
Run the dependency tree command: 'inspect dependencies for github.com/rs/cors'. 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-vh9x-phq6-fx54",
  "modified" : "2025-08-06T22:09:08Z",
  "published" : "2025-08-06T21:31:40Z",
  "withdrawn" : "2025-08-06T22:09:08Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Denial of service via malicious preflight requests in github.com/rs/cors",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-mh55-gqvf-xfwm. This link is maintained to preserve external references.\n\n### Original Description\nMiddleware causes a prohibitive amount of heap allocations when processing malicious preflight requests that include a Access-Control-Request-Headers (ACRH) header whose value contains many commas. This behavior can be abused by attackers to produce undue load on the middleware/server as an attempt to cause a denial of service.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/rs/cors"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.9.0"
      }, {
        "fixed" : "1.11.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-47908"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rs/cors/issues/170"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rs/cors/pull/171"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rs/cors"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2024-2883"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-08-06T22:09:08Z",
    "nvd_published_at" : "2025-08-06T21:15:29Z"
  }
}