Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS03bTVjLWZnd2YtbXdwaM4AA0vB
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03bTVjLWZnd2YtbXdwaM4AA0vB
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 10 months ago
Updated: 7 months ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Identifiers: GHSA-7m5c-fgwf-mwph, CVE-2023-34036
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-34036
- https://spring.io/security/cve-2023-34036
- https://github.com/advisories/GHSA-7m5c-fgwf-mwph
Affected Packages
maven:org.springframework.hateoas:spring-hateoas
Dependent packages: 263Dependent repositories: 6,695
Downloads:
Affected Version Ranges: >= 2.1.0, < 2.1.1, >= 2.0.0, < 2.0.5, < 1.5.5
Fixed in: 2.1.1, 2.0.5, 1.5.5
All affected versions: 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.2.11, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0
All unaffected versions: 1.5.5, 1.5.6, 2.0.5, 2.0.6, 2.0.7, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.2.0, 2.2.1, 2.2.2, 2.3.0