Impact
Netty’s CorsHandler may short‑circuit unauthorized cross‑origin requests, but a logic error exposes a path that allows requests with an Origin: null header to bypass that protection. The bypass results in the backend application receiving requests that should have been rejected, effectively disabling the intended access controls. This is an Access Control Bypass (CWE‑284).
Affected Systems
Netty library versions 4.1.0.Final through 4.1.135.Final and 4.2.0.Final through 4.2.15.Final are vulnerable. The issue was addressed in Netty 4.1.136.Final and 4.2.16.Final.
Risk and Exploitability
The CVSS score for this vulnerability is 6.5, indicating moderate severity, while the EPSS score is less than 1 percent, suggesting a low likelihood of exploitation in the wild. It is not currently listed in CISA’s KEV catalog. An attacker can exploit the flaw by sending an HTTP request that includes an Origin: null header, causing the request to bypass the short‑circuit check and reach the application backend. If the application relies solely on the short‑circuit for cross‑origin protection, the bypass can lead to unauthorized access to protected resources.
OpenCVE Enrichment
Github GHSA