CVE-2024-22259 json
CVE-2024-22259: Spring Framework URL Parsing with Host Validation (2nd report)
published 2024-03-16 2 y ago modified 2026-09-10 1 mo ago also GHSA-hgjh-9rj2-g67j , EUVD-2024-0937
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.springframework:spring-web 5.3.33, 6.0.18, 6.1.5
- vmware spring_framework 5.3.33, 6.0.18, 6.1.5
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-22259 updated cvss 8.1
springframework: URL Parsing with Host Validation
-
Red Hat build of Apache Camel for Spring Boot 4 springframework springframeworkaffected: no fix available
-
Red Hat build of OptaPlanner 8 springframework springframeworkaffected: no fix available “Fix deferred”
-
Red Hat Fuse 7 springframework springframeworkaffected: no fix available
-
Red Hat Process Automation 7 springframework springframeworkaffected: no fix available “Fix deferred”
-
Red Hat AMQ Broker 7fixed: vendor fix RHSA-2024:2945
-
Red Hat A-MQ Clients 2 springframework springframework Red Hat build of Apache Camel - HawtIO 4 springframework springframework Red Hat build of Apache Camel for Spring Boot 3 springframework springframework Red Hat Build of Keycloak springframework springframework Red Hat Data Grid 8 springframework springframework Red Hat Integration Camel K 1 springframework springframeworknot affected: vulnerable code not present
+7 more productsfewer
Red Hat JBoss Data Grid 7 springframework springframework Red Hat JBoss Enterprise Application Platform 7 spring-core Red Hat JBoss Enterprise Application Platform 8 spring-core Red Hat JBoss Enterprise Application Platform Expansion Pack springframework springframework Red Hat Single Sign-On 7 springframework springframework Red Hat support for Spring Boot springframework springframework Red Hat streams for Apache Kafka springframework springframework
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
2.57% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework:spring-web | >=6.1.0, <6.1.5 >=6.0.0, <6.0.18 <5.3.33 |
6.1.5 6.0.18 5.3.33 |
Affected products
- Spring Spring Framework
- vmware spring_framework
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
- Technology feeds
References
-
github.com
/spring-projects/spring-framework/commit/297cbae2990e1413537c55845a7e0ea0ffd9f9bb
web
-
github.com
/spring-projects/spring-framework/commit/381f790329a48b74c2a49fc1384dd68ca9153501
web
-
github.com
/spring-projects/spring-framework/commit/f2fd2f12269c6a781c5b2c20b3c24141055a3d68
web
-
spring.io
/security/cve-2024-22259
web, vendor-advisory
-
security.netapp.com
/advisory/ntap-20240524-0002/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-22259
advisory
-
github.com
/spring-projects/spring-framework
web
-
security.netapp.com
/advisory/ntap-20240524-0002
web
Sources
- CVE List CVE-2024-22259
- GitHub Advisory GHSA-hgjh-9rj2-g67j
- NVD CVE-2024-22259
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.