CVE-2025-47908 (GCVE-0-2025-47908)
Vulnerability from cvelistv5 – Published: 2025-08-06 20:41 – Updated: 2025-08-07 13:47
VLAI
EPSS
VEX
Title
Denial of service via malicious preflight requests in github.com/rs/cors
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.
Severity
7.5 (High)
SSVC
Exploitation: poc
Automatable: yes
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-08-07 13:46 UTC
CWE
- CWE-1325 - Improperly Controlled Sequential Memory Allocation
Assigner
References
Impacted products
1 product
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| github.com/rs/cors | github.com/rs/cors |
Affected:
1.9.0 , < 1.11.0
(semver)
|
guessed |
{
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2025-47908",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-08-07T13:46:29.844868Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-08-07T13:47:15.232Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"packageName": "github.com/rs/cors",
"product": "github.com/rs/cors",
"programRoutines": [
{
"name": "Cors.handlePreflight"
},
{
"name": "Cors.areHeadersAllowed"
},
{
"name": "New"
},
{
"name": "splitHeaderValues"
},
{
"name": "AllowAll"
},
{
"name": "Cors.HandlerFunc"
},
{
"name": "Cors.ServeHTTP"
},
{
"name": "Default"
}
],
"vendor": "github.com/rs/cors",
"versions": [
{
"lessThan": "1.11.0",
"status": "affected",
"version": "1.9.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "@jub0bs"
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "CWE-1325: Improperly Controlled Sequential Memory Allocation",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-08-06T20:41:31.311Z",
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"shortName": "Go"
},
"references": [
{
"url": "https://github.com/rs/cors/pull/171"
},
{
"url": "https://github.com/rs/cors/issues/170"
},
{
"url": "https://pkg.go.dev/vuln/GO-2024-2883"
}
],
"title": "Denial of service via malicious preflight requests in github.com/rs/cors"
}
},
"cveMetadata": {
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"assignerShortName": "Go",
"cveId": "CVE-2025-47908",
"datePublished": "2025-08-06T20:41:31.311Z",
"dateReserved": "2025-05-13T23:31:29.597Z",
"dateUpdated": "2025-08-07T13:47:15.232Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2025-47908",
"date": "2026-09-18",
"epss": "0.00572",
"percentile": "0.45983"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"packageName": "github.com/rs/cors",
"product": "github.com/rs/cors",
"programRoutines": [
{
"name": "Cors.handlePreflight"
},
{
"name": "Cors.areHeadersAllowed"
},
{
"name": "New"
},
{
"name": "splitHeaderValues"
},
{
"name": "AllowAll"
},
{
"name": "Cors.HandlerFunc"
},
{
"name": "Cors.ServeHTTP"
},
{
"name": "Default"
}
],
"vendor": "github.com/rs/cors",
"versions": [
{
"lessThan": "1.11.0",
"status": "affected",
"version": "1.9.0",
"versionType": "semver"
}
]
}
],
"source": "security@golang.org"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "El middleware genera una cantidad prohibitiva de asignaciones de mont\u00f3n al procesar solicitudes preflight maliciosas que incluyen un encabezado ACRH (Access-Control-Request-Headers) cuyo valor contiene muchas comas. Los atacantes pueden abusar de este comportamiento para generar una carga excesiva en el middleware/servidor con el fin de provocar una denegaci\u00f3n de servicio."
}
],
"id": "CVE-2025-47908",
"lastModified": "2026-06-17T09:28:49.670",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6,
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2025-47908",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-08-07T13:46:29.844868Z",
"version": "2.0.3"
}
}
]
},
"published": "2025-08-06T21:15:29.313",
"references": [
{
"source": "security@golang.org",
"url": "https://github.com/rs/cors/issues/170"
},
{
"source": "security@golang.org",
"url": "https://github.com/rs/cors/pull/171"
},
{
"source": "security@golang.org",
"url": "https://pkg.go.dev/vuln/GO-2024-2883"
}
],
"sourceIdentifier": "security@golang.org",
"vulnStatus": "Deferred"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-06-30T03:07:22+00:00",
"cve": "CVE-2025-47908",
"id": "CVE-2025-47908",
"initial_release_date": "2025-08-06T20:41:31.311000+00:00",
"product_status:known_affected": "41",
"product_status:known_not_affected": "121",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "github.com/rs/cors: Denial of service via malicious preflight requests in github.com/rs/cors",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-47908.json",
"version": "3"
},
"vulnrichment": {
"containers": {
"adp": [
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2025-47908",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-08-07T13:46:29.844868Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-08-07T13:46:45.866Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://pkg.go.dev",
"defaultStatus": "unaffected",
"packageName": "github.com/rs/cors",
"product": "github.com/rs/cors",
"programRoutines": [
{
"name": "Cors.handlePreflight"
},
{
"name": "Cors.areHeadersAllowed"
},
{
"name": "New"
},
{
"name": "splitHeaderValues"
},
{
"name": "AllowAll"
},
{
"name": "Cors.HandlerFunc"
},
{
"name": "Cors.ServeHTTP"
},
{
"name": "Default"
}
],
"vendor": "github.com/rs/cors",
"versions": [
{
"lessThan": "1.11.0",
"status": "affected",
"version": "1.9.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "@jub0bs"
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "CWE-1325: Improperly Controlled Sequential Memory Allocation",
"lang": "en"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-08-06T20:41:31.311Z",
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"shortName": "Go"
},
"references": [
{
"url": "https://github.com/rs/cors/pull/171"
},
{
"url": "https://github.com/rs/cors/issues/170"
},
{
"url": "https://pkg.go.dev/vuln/GO-2024-2883"
}
],
"title": "Denial of service via malicious preflight requests in github.com/rs/cors"
}
},
"cveMetadata": {
"assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
"assignerShortName": "Go",
"cveId": "CVE-2025-47908",
"datePublished": "2025-08-06T20:41:31.311Z",
"dateReserved": "2025-05-13T23:31:29.597Z",
"dateUpdated": "2025-08-07T13:47:15.232Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…