CVE-2024-22262
HIGH 8.1CVSS 3.1Spring Framework URL Parsing with Host Validation
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.
- Published
- 16 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@vmware.com
- NVD status
- Deferred
- Weakness
- CWE-601
- Also known as
- GHSA-2wrp-6fg6-hmc5
- Sources
- NVDJSONOSV GHSA-2wrp-6fg6-hmc5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.springframework:spring-web | < 5.3.34 | 5.3.34 |
| OSV | Maven | org.springframework:spring-web | >= 6.0.0, < 6.0.19 | 6.0.19 |
| OSV | Maven | org.springframework:spring-web | >= 6.1.0, < 6.1.6 | 6.1.6 |
References
- https://security.netapp.com/advisory/ntap-20240524-0003/ · WEB
- https://spring.io/security/cve-2024-22262 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-22262 · ADVISORY
- https://github.com/spring-projects/spring-framework · PACKAGE
- https://github.com/spring-projects/spring-framework/blob/main/spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.java · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 16 Apr 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Apr 2024)