golang-github-rs-cors — security advisory
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.
- Products
- golang-github-rs-cors
- Affected versions
- 1.11.1-2, 1.7.0-1, 1.7.0-2, 1.7.0-4
- Fixed versions
- Not specified
- CVEs
- CVE-2025-47908
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:30 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2025-47908
golang-github-rs-cors
Fixed versions: Not specified
golang-github-rs-cors
Fixed versions: Not specified
golang-github-rs-cors
Fixed versions: Not specified
golang-github-rs-cors
Fixed versions: Not specified
golang-github-rs-cors
Fixed versions: Not specified
golang-github-rs-cors
Fixed versions: Not specified
Complete source record
{
"id": "53f6a1c4ebc7861217847a4758d2bfda1756cff446fba5ff5f653d0c5bc83957",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-47908",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-47908",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2025-47908",
"products": [
{
"name": {
"value": "golang-github-rs-cors",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.0-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "golang-github-rs-cors",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.0-2",
"evidence": "/affected/1/versions"
},
{
"value": "1.7.0-4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-github-rs-cors",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.0-4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "golang-github-rs-cors",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.0-4",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "golang-github-rs-cors",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.0-4",
"evidence": "/affected/4/versions"
},
{
"value": "1.11.1-2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "golang-github-rs-cors",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.0-4",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2025-47908",
"aliases": [
"UBUNTU-CVE-2025-47908"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-rs-cors",
"purl": "pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.7.0-1",
"1.7.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-rs-cors-dev",
"binary_version": "1.7.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-rs-cors",
"purl": "pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.7.0-2",
"1.7.0-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-rs-cors-dev",
"binary_version": "1.7.0-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-rs-cors",
"purl": "pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.7.0-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-rs-cors-dev",
"binary_version": "1.7.0-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-rs-cors",
"purl": "pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.7.0-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-rs-cors-dev",
"binary_version": "1.7.0-4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-rs-cors",
"purl": "pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.7.0-4",
"1.11.1-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-rs-cors-dev",
"binary_version": "1.11.1-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-rs-cors",
"purl": "pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.7.0-4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-rs-cors-dev",
"binary_version": "1.7.0-4"
}
]
}
}
],
"modified": "2026-10-17T12:56:59.363750587Z",
"provider": "osv",
"upstream": [
"CVE-2025-47908"
],
"references": [
"https://ubuntu.com/security/CVE-2025-47908",
"https://www.cve.org/CVERecord?id=CVE-2025-47908",
"https://github.com/rs/cors/issues/170",
"https://github.com/rs/cors/pull/171",
"https://pkg.go.dev/vuln/GO-2024-2883"
]
},
"related_cves": [
{
"value": "CVE-2025-47908",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356601,
"published_at": "2025-08-06T21:15:00+00:00"
}