Impact
The vulnerability arises because the UndertowEndpoint replaces the Undertow‑specific header filter with a base HTTP filter before the Undertow transport can inspect request headers. As a result, headers that the Undertow transport normally rejects or strips—including the legacy websocket.Exchange‑header prefix—are forwarded to the Camel Exchange. An Undertow WebSocket producer can then consume these headers as dispatch instructions and deliver messages to an unintended peer, or allow otherwise unsafe header names to be propagated. The weakness is an improper input validation flaw (CWE‑20). Apart from changing routing behavior, this can lead to information disclosure or interference with message integrity.
Affected Systems
Apache Camel versions 4.11.0 through 4.14.8, 4.15.0 through 4.18.3, and 4.19.0 through 4.21.9 are vulnerable. The fix is included in Camel 4.14.9, 4.18.4 and 4.22.0. Users running any of the affected releases should update to the corresponding fixed version.
Risk and Exploitability
The EPSS score is < 1% and the vulnerability is not listed in CISA’s KEV catalogue, indicating a low but known exploit probability. The CVSS score of 9.8 signals a high severity, and the design flaw permits a remote attacker controlling HTTP headers to subvert routing logic. The attack vector is inferred to be external HTTP/HTTPS traffic sent to an Undertow endpoint. Although the vulnerability does not deliver direct code execution, it can compromise confidentiality, integrity, and availability by redirecting messages or exposing internal transport details. Hence, the risk is high in environments where Camel exposes Undertow endpoints to untrusted clients.
OpenCVE Enrichment
Github GHSA