What’s Vulnerable › Vulnerabilities
CVE-2024-22262: CVE-2024-22262: Spring Framework URL Parsing with Host Validation
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-16 · updated 2026-06-17
- Weakness: CWE-601
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. 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.
Affected products
- Spring Framework: from 6.1.0 before 6.1.6; from 6.0.0 before 6.0.19; from 5.3.0 before 5.3.34 — fixed in 6.1.6, 6.0.19, 5.3.34
- Spring Framework: from 6.1.x before 6.1.6; from 6.0.x before 6.0.19; from 5.3.x before 5.3.34 — fixed in 6.1.6, 6.0.19, 5.3.34
How to fix
Upgrade to a fixed version: Spring Framework 6.1.6, 6.0.19, 5.3.34; Spring Framework 6.1.6, 6.0.19, 5.3.34. Check the vendor advisory for mitigations.
References
- https://security.netapp.com/advisory/ntap-20240524-0003/
- https://spring.io/security/cve-2024-22262
- https://security.netapp.com/advisory/ntap-20240524-0003/
- https://spring.io/security/cve-2024-22262
Get alerted when CVE-2024-22262 or the next vulnerability affects your stack