Bug 2386952 (CVE-2025-47908)

Summary: CVE-2025-47908 github.com/rs/cors: Denial of service via malicious preflight requests in github.com/rs/cors
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alcohan, amctagga, anjoseph, aoconnor, bkabrda, bniver, dhanak, drosa, dsimansk, fdeutsch, flucifre, gmeno, gparvin, jkoehler, jprabhak, kingland, kverlaen, lball, lchilton, lphiri, matzew, mbenjamin, mhackett, mnovotny, mwringe, ngough, njean, oramraz, owatkins, pahickey, rhaigner, sausingh, sdawley, sfeifer, smullick, sostapov, stirabos, thason, vereddy, veshanka, wtam
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in github.com/rs/cors. The middleware exhibits excessive heap memory allocation when handling preflight requests containing a lengthy, comma-separated value in the Access-Control-Request-Headers (ACRH) header. This vulnerability allows an attacker to send a specially crafted HTTP request, leading to resource exhaustion and potentially causing an application-level denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2387003, 2387004    
Bug Blocks:    

Description OSIDB Bzimport 2025-08-06 21:02:28 UTC
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.