CVE-2024-22262

published 16 Apr 2024 · updated 13 Feb 2025

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

8.1HighCVSS 8.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5.3.34, 6.0.19 and 6.1.6.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Spring>=5.3.x <5.3.34, >=6.0.x <6.0.19, >=6.1.x <6.1.65.3.34, 6.0.19, 6.1.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-22262 severity on Zeptric[![CVE-2024-22262](https://zeptric.io/badge/cve/CVE-2024-22262.svg)](https://zeptric.io/cve/CVE-2024-22262)