CVE-2023-34036: spring spring hateoas
Vulnerability summary
CVE-2023-34036 is a medium (CVSS 5.3) vulnerability in spring spring hateoas. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 39.7% of scored vulnerabilities.
Timeline
- 17-07-2023PublishedVulnerability first disclosed.
- 30-10-2024Last modifiedVulnerability information updated.
Description
Reactive web applications that use Spring HATEOAS to produce hypermedia-based responses might be exposed to malicious forwarded headers if they are not behind a trusted proxy that ensures 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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.47%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
0.00 pp
From 0.47% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-644Improper Neutralization of HTTP Headers for Scripting SyntaxThe product 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.
- CWE-116Improper Encoding or Escaping of OutputThe product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
Affected systems
Org.springframework.hateoas1 product
- spring-hateoas< 1.5.5 | ≥ 2.0.0, < 2.0.5 | ≥ 2.1.0, < 2.1.1
Spring1 product
- spring hateoas1.5.4 or older | 2.0.4 or older | 2.1.0
Vmware1 product
- spring_hateoas< 1.5.5 | ≥ 2.0.0, < 2.0.5 | 2.1.0 | 2.1.0:milestone1 | 2.1.0:rc1
3 vendors · 3 products