What’s Vulnerable › Vulnerabilities

CVE-2024-22259: CVE-2024-22259: Spring Framework URL Parsing with Host Validation (2nd report)

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Spring Framework 5.3.33, 6.0.18, 6.1.5; Spring Framework 6.1.5, 6.0.18, 5.3.33. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-22259 or the next vulnerability affects your stack