~ / search / GHSA-hgjh-9rj2-g67j

GHSA-hgjh-9rj2-g67j

Spring Framework URL Parsing with Host Validation Vulnerability

Source: GitHub Advisory Database (reviewed) High CVE-2024-22259

Packages

EcosystemPackageAffectedFixed in
Maven org.springframework:spring-web >= 6.1.0, < 6.1.5 6.1.5
Maven org.springframework:spring-web >= 6.0.0, < 6.0.18 6.0.18
Maven org.springframework:spring-web < 5.3.33 5.3.33

Details

As written in the advisory (Markdown source, shown as plain text).

Applications that use UriComponentsBuilder in Spring Framework to parse an externally provided URL (e.g. through a query parameter) AND perform validation checks on the host of the parsed URL may be vulnerable to a open redirect https://cwe.mitre.org/data/definitions/601.html  attack or to a SSRF attack if the URL is used after passing validation checks. This is the same as CVE-2024-22243 https://spring.io/security/cve-2024-22243, but with different input.

References

External links from the advisory. They lead to third-party sites.