CVE-2024-22259GHSA-HGJH-9RJ2-G67J
CVE-2024-22259: Spring Framework URL Parsing with Host Validation (2nd report)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.5, 6.0.18, 5.3.33
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: total
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Spring Framework
From 6.1.x · fixed in 6.1.5; From 6.0.x · fixed in 6.0.18; From 5.3.x · fixed in 5.3.33
- org.springframework:spring-webMaven
From 6.1.0 · fixed in 6.1.5
- org.springframework:spring-webMaven
From 6.0.0 · fixed in 6.0.18
- org.springframework:spring-webMaven
fixed in 5.3.33