Skip to main content
← All vulnerabilities
CVE-2024-22259GHSA-HGJH-9RJ2-G67J

CVE-2024-22259: Spring Framework URL Parsing with Host Validation (2nd report)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.5, 6.0.18, 5.3.33
None on Exploit-DB, Metasploit or GitHub
  • 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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. 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

References 2

spring.io

security.netapp.com