CVE-2024-22262: Spring Framework URL Parsing with Host Validation

Published Apr 16, 2024
·
Updated

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

8 affected componentsFixes available
maven/org.springframework:spring-web>=6.1.0<6.1.6
6.1.6
maven/org.springframework:spring-web>=6.0.0<6.0.19
6.0.19
maven/org.springframework:spring-web<5.3.34
5.3.34
redhat/springframework<6.1.6
6.1.6
redhat/springframework<6.0.19
6.0.19
redhat/springframework<5.3.34
5.3.34
IBM Controller<=11.1.0
IBM Controller<=11.0.0 - 11.0.1

Event History

Apr 16, 2024
CVE Published
via MITRE·05:54 AM
Data Sourced
via MITRE·05:54 AM
DescriptionSeverity
Data Sourced
via NVD·06:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·06:30 AM
Data Sourced
via Red Hat·10:02 AM
DescriptionSeverityAffected Software
Feb 28, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

Which software is affected by CVE-2024-22262?

CVE-2024-22262 affects multiple versions of the Spring Framework and IBM Analytics Content Hub.

4

What type of attack does CVE-2024-22262 facilitate?

CVE-2024-22262 can facilitate open redirect attacks and Server-Side Request Forgery (SSRF) attacks.

5

What components of Spring Framework are affected by CVE-2024-22262?

CVE-2024-22262 specifically impacts the UriComponentsBuilder used for parsing externally provided URLs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203