CVE-2024-22262: Spring Framework URL Parsing with Host Validation
Spring Framework
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework:spring-web Maven |
|
|
Original description
Applications that use UriComponentsBuilder 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.