CVE-2024-22259

published 16 Mar 2024 · updated 13 Feb 2025

CVE-2024-22259: Spring Framework URL Parsing with Host Validation (2nd report)

8.1HighCVSS 8.1EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in 5.3.33, 6.0.18 and 6.1.5.

Applications that use UriComponentsBuilder in Spring Framework 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-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.33, >=6.0.x <6.0.18, >=6.1.x <6.1.55.3.33, 6.0.18, 6.1.5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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