logo

CVE-2023-34036 org.springframework.hateoas:spring-hateoas

Package

Manager: maven
Name: org.springframework.hateoas:spring-hateoas
Vulnerable Version: >=0 <1.5.5 || >=2.0.0 <2.0.5 || >=2.1.0 <2.1.1

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00306 pctl0.53317

Details

Spring HATEOAS vulnerable to Improper Neutralization of HTTP Headers for Scripting Syntax 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.

Metadata

Created: 2023-07-17T12:30:32Z
Modified: 2023-07-19T19:23:53Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-7m5c-fgwf-mwph/GHSA-7m5c-fgwf-mwph.json
CWE IDs: ["CWE-116", "CWE-644"]
Alternative ID: GHSA-7m5c-fgwf-mwph
Finding: F184
Auto approve: 1