CVE-2024-22243: 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
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.springframework:spring-webto a version that resolves this vulnerability.Fixed in 5.3.32 - Upgrade
Upgrade
maven/org.springframework:spring-webto a version that resolves this vulnerability.Fixed in 6.0.17 - Upgrade
Upgrade
maven/org.springframework:spring-webto a version that resolves this vulnerability.Fixed in 6.1.4 - Upgrade
Upgrade
redhat/springframeworkto a version that resolves this vulnerability.Fixed in 6.1.4 - Upgrade
Upgrade
redhat/springframeworkto a version that resolves this vulnerability.Fixed in 6.0.17 - Upgrade
Upgrade
redhat/springframeworkto a version that resolves this vulnerability.Fixed in 5.3.32
Event History
Frequently Asked Questions
What is the severity of CVE-2024-22243?
CVE-2024-22243 is classified as a high severity vulnerability that can lead to open redirect and SSRF attacks.
How do I fix CVE-2024-22243?
To fix CVE-2024-22243, upgrade to Spring Web versions 5.3.32, 6.0.17, or 6.1.4.
Which versions of Spring Web are affected by CVE-2024-22243?
CVE-2024-22243 affects Spring Web versions up to 5.2.25.RELEASE and versions between 5.3.0 and 5.3.32.
What attacks does CVE-2024-22243 expose my application to?
CVE-2024-22243 exposes your application to open redirect attacks and server-side request forgery (SSRF) vulnerabilities.
Is my application vulnerable if it uses UriComponentsBuilder?
Yes, if your application uses UriComponentsBuilder to parse externally provided URLs without proper validation, it may be vulnerable to CVE-2024-22243.