CVE-2024-22262Spring Framework
High 8.1 No auth needed
Follow: this CVE · Spring · Spring Framework We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Apr 16, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Spring Framework.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.springframework:spring-web |
< 5.3.34 |
5.3.34 |
— |
| Maven | org.springframework:spring-web |
≥ 6.0.0 < 6.0.19 |
6.0.19 |
— |
| Maven | org.springframework:spring-web |
≥ 6.1.0 < 6.1.6 |
6.1.6 |
— |
Per OSV / GitHub Advisories (GHSA-2wrp-6fg6-hmc5). Check the version in your lockfile before upgrading.
Affected products
- Spring · Spring Framework
- vmware · spring_framework
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.