Skip to main content
← All vulnerabilities
CVE-2024-22243GHSA-CCGV-VJ62-XF9H

CVE-2024-22243: Spring Framework URL Parsing with Host Validation

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.17, 6.1.4, 5.3.32
3 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • Spring Spring Framework

    From 6.0.x · fixed in 6.0.17; From 6.1.x · fixed in 6.1.4; From 5.3.x · fixed in 5.3.32

  • org.springframework:spring-webMaven

    From 6.1.0 · fixed in 6.1.4

  • org.springframework:spring-webMaven

    From 6.0.0 · fixed in 6.0.17

  • org.springframework:spring-webMaven

    From 5.3.0 · fixed in 5.3.32

  • org.springframework:spring-webMaven

    through 5.2.25.RELEASE

References 5

spring.io

security.netapp.com

GitHub · Reivap/CVE-2024-22243

GitHub · SeanPesce/CVE-2024-22243

GitHub · shellfeel/CVE-2024-22243-CVE-2024-22234