Vulnerability · Published Apr 16, 2024 · Assigned by vmware
CVE-2024-22262CVE-2024-22262: Spring Framework URL Parsing with Host Validation
High 8.1
In plain English
A high-severity open redirect in Spring Framework from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libspring-java | no fix listed | DEBIAN-CVE-2024-22262 |
| Debian:13 | libspring-java | no fix listed | DEBIAN-CVE-2024-22262 |
| Debian:14 | libspring-java | no fix listed | DEBIAN-CVE-2024-22262 |
| Maven | org.springframework:spring-web | 5.3.34 | GHSA-2wrp-6fg6-hmc5 |
| Maven | org.springframework:spring-web | 6.0.19 | GHSA-2wrp-6fg6-hmc5 |
| Maven | org.springframework:spring-web | 6.1.6 | GHSA-2wrp-6fg6-hmc5 |
| Ubuntu:25.10 | libspring-java | no fix listed | UBUNTU-CVE-2024-22262 |
| Ubuntu:26.04:LTS | libspring-java | no fix listed | UBUNTU-CVE-2024-22262 |
| Ubuntu:26.10 | libspring-java | no fix listed | UBUNTU-CVE-2024-22262 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Framework | 6.1.x – before 6.1.66.0.x – before 6.0.195.3.x – before 5.3.34 |
Weakness: CWE-601, CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N