Asymmetric denial of service In github.com/rs/cors
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
go | 1.11.0 | ||
rpm rhel10 | - | - | |
rpm rhel9 | - | - |
Aliases
1. 2. 3. 4.
References
1. 2. 3. 4.