{"id":"UBUNTU-CVE-2025-47908","details":"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.","modified":"2026-05-20T16:11:22.941601414Z","published":"2025-08-06T21:15:00Z","upstream":["CVE-2025-47908"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-47908"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-47908"},{"type":"REPORT","url":"https://github.com/rs/cors/issues/170"},{"type":"REPORT","url":"https://github.com/rs/cors/pull/171"},{"type":"REPORT","url":"https://pkg.go.dev/vuln/GO-2024-2883"}],"affected":[{"package":{"name":"golang-github-rs-cors","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0-1","1.7.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.0-2","binary_name":"golang-github-rs-cors-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"}},{"package":{"name":"golang-github-rs-cors","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0-2","1.7.0-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.0-4","binary_name":"golang-github-rs-cors-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"}},{"package":{"name":"golang-github-rs-cors","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.0-4","binary_name":"golang-github-rs-cors-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"}},{"package":{"name":"golang-github-rs-cors","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.0-4","binary_name":"golang-github-rs-cors-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"}},{"package":{"name":"golang-github-rs-cors","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-rs-cors?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.0-4","binary_name":"golang-github-rs-cors-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-47908.json"}}],"schema_version":"1.7.5","severity":[{"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"}]}