CVE-2024-22262: Spring Framework URL Parsing with Host Validation
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.
This is the same as CVE-2024-22259 https://spring.io/security/cve-2024-22259 and CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.
Other sources
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 attack or to a SSRF attack if the URL is used after passing validation checks.
This is the same as CVE-2024-22259 and CVE-2024-22243, but with different input.
Upstream advisory: https://spring.io/security/cve-2024-22262
— Red Hat
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-22262?
CVE-2024-22262 is classified as a high severity vulnerability due to its potential for causing open redirect and SSRF attacks.
How do I fix CVE-2024-22262?
To fix CVE-2024-22262, update to Spring Framework version 5.3.34, 6.0.19, or 6.1.6 as applicable.
Which software is affected by CVE-2024-22262?
CVE-2024-22262 affects multiple versions of the Spring Framework and IBM Analytics Content Hub.
What type of attack does CVE-2024-22262 facilitate?
CVE-2024-22262 can facilitate open redirect attacks and Server-Side Request Forgery (SSRF) attacks.
What components of Spring Framework are affected by CVE-2024-22262?
CVE-2024-22262 specifically impacts the UriComponentsBuilder used for parsing externally provided URLs.