GHSA-vh9x-phq6-fx54: Duplicate Advisory Denial of Service Vulnerability
LOWGHSA-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
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.
Upgrade github.com/rs/cors to 1.11.0
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
GHSA-vh9x-phq6-fx54 Affected Duplicate Advisory Versions
1 component(s)| 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?
Which Duplicate Advisory versions are affected?
What version fixes GHSA-vh9x-phq6-fx54?
Is github.com/rs/cors affected?
What CWE is associated with GHSA-vh9x-phq6-fx54?
How can I check Go dependencies for GHSA-vh9x-phq6-fx54?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}