CVE-2024-22259: Spring Framework URL Parsing with Host Validation (2nd report)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 1 fixed, 4 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-601.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | org.springframework:spring-web (Maven) | 6.1.0 to before 6.1.5 | 6.1.5 | Patch available | GHSA-hgjh-9rj2-g67j |
| — | org.springframework:spring-web (Maven) | 6.0.0 to before 6.0.18 | 6.0.18 | Patch available | GHSA-hgjh-9rj2-g67j |
| — | org.springframework:spring-web (Maven) | before 5.3.33 | 5.3.33 | Patch available | GHSA-hgjh-9rj2-g67j |
- org.springframework:spring-web (Maven) Vendor— Affected 6.1.0 to before 6.1.5 Fixed in 6.1.5 Patch available GHSA-hgjh-9rj2-g67j
- org.springframework:spring-web (Maven) Vendor— Affected 6.0.0 to before 6.0.18 Fixed in 6.0.18 Patch available GHSA-hgjh-9rj2-g67j
- org.springframework:spring-web (Maven) Vendor— Affected before 5.3.33 Fixed in 5.3.33 Patch available GHSA-hgjh-9rj2-g67j
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* | before 5.3.33; 6.0.0 to before 6.0.18; 6.1.0 to before 6.1.5 | Vulnerable | VMware |
| cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* | not specified by NVD | Vulnerable | NetApp |
- cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:* Versions before 5.3.33; 6.0.0 to before 6.0.18; 6.1.0 to before 6.1.5 Vulnerable ·VMware
- cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* Versions not specified by NVD Vulnerable ·NetApp
Remediation
- Fix · GHSA-hgjh-9rj2-g67j org.springframework:spring-web (Maven) Fixed in 6.1.5 Advisory →
- Fix · GHSA-hgjh-9rj2-g67j org.springframework:spring-web (Maven) Fixed in 6.0.18 Advisory →
- Fix · GHSA-hgjh-9rj2-g67j org.springframework:spring-web (Maven) Fixed in 5.3.33 Advisory →
Red Hat 1 advisory
- RHSA-2024:2945 Released 2024-05-21 · Red Hat rating ImportantRed Hat AMQ Broker 7.12.0 release and security update
- Red Hat AMQ Broker 7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix yet |
| Red Hat Process Automation 7 | Affected | No fix yet: Fix deferred |
| Red Hat build of Apache Camel for Spring Boot 4 | Affected | No fix yet |
| Red Hat build of OptaPlanner 8 | Affected | No fix yet: Fix deferred |
| Red Hat AMQ Broker 7 | Fixed | RHSA-2024:2945 |
Not affected: 13 products
- A-MQ Clients 2
- Red Hat Build of Keycloak
- Red Hat Data Grid 8
- Red Hat Integration Camel K 1
- Red Hat JBoss Data Grid 7
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat Single Sign-On 7
- Red Hat build of Apache Camel - HawtIO 4
- Red Hat build of Apache Camel for Spring Boot 3
- Red Hat support for Spring Boot
- streams for Apache Kafka
Timeline
- 2026-10-02 Threatist record created from CVE-2024-22259
- 2026-10-03 Alias added: GHSA-hgjh-9rj2-g67j
References
Advisory 3
Other 5
- https://github.com/spring-projects/spring-framework/commit/297cbae2990e1413537c55845a7e0ea0ffd9f9bb
- https://github.com/spring-projects/spring-framework/commit/381f790329a48b74c2a49fc1384dd68ca9153501
- https://github.com/spring-projects/spring-framework/commit/f2fd2f12269c6a781c5b2c20b3c24141055a3d68
- https://github.com/spring-projects/spring-framework
- https://security.netapp.com/advisory/ntap-20240524-0002
More VMware Spring Framework vulnerabilities
- TI-2022-07142 Code injection in Spring Framework KEVCVSS 3.1CRITICAL 9.8
- TI-2018-01175 Code injection in Spring Framework CVSS 3.1CRITICAL 9.8
- TI-2020-04444 RFD Attack via "Content-Disposition" Header Sourced from Request Input by Spring MVC or Spring WebFlux Application CVSS 3.1HIGH 7.5
- TI-2018-01180 Code injection in Spring Framework CVSS 3.1CRITICAL 9.8
- TI-2016-09283 Pivotal Spring Framework through 5.3.16 suffers from a potential remote code execution… CVSS 3.1CRITICAL 9.8
- TI-2014-00050 The Jaxb2RootElementHttpMessageConverter in Spring MVC in Spring Framework before 3.2.8… CVSS 2.0MEDIUM 6.8
Sources
- CVE-2024-22259 · CVE Program
- CVE-2024-22259 · NVD
- FIRST EPSS
- GHSA-hgjh-9rj2-g67j · GitHub Advisory Database · CC BY 4.0
- CVE-2024-22259 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences