Improper Neutralization of HTTP Headers for Scripting Syntax
CVE-2023-34036
Summary
Reactive web applications that use Spring HATEOAS in to produce hypermedia-based responses might be exposed to malicious forwarded headers if they are not behind a trusted proxy that ensures the correctness of such headers, or if they don't have anything else in place to handle (and possibly discard) forwarded headers either in WebFlux or at the level of the underlying HTTP server. For the application to be affected, it needs to satisfy the following requirements, It needs to use the reactive web stack (Spring WebFlux) and Spring HATEOAS to create links in hypermedia-based responses. The application infrastructure does not guard against clients submitting "(X-)Forwarded..." headers. This issue affects org.springframework.hateoas:spring-hateoas versions through 1.5.4, 2.0.0-M1 through 2.0.4, and 2.1.0-M1 through 2.1.0.
- LOW
- NETWORK
- LOW
- UNCHANGED
- NONE
- NONE
- NONE
- NONE
CWE-644 - Improper Neutralization of HTTP Headers for Scripting Syntax
The application does not neutralize or incorrectly neutralizes web scripting syntax in HTTP headers that can be used by web browser components that can process raw headers, such as Flash.
References
Advisory Timeline
- Published