Skip to main content
← All vulnerabilities
CVE-2024-22262GHSA-2WRP-6FG6-HMC5

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.6, 6.0.19, 5.3.34
1 proof 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. This is the same as CVE-2024-22259 https://spring.io/security/cve-2024-22259  and 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 Spring Framework

    From 6.1.x · fixed in 6.1.6; From 6.0.x · fixed in 6.0.19; From 5.3.x · fixed in 5.3.34

  • org.springframework:spring-webMaven

    fixed in 5.3.34

  • org.springframework:spring-webMaven

    From 6.0.0 · fixed in 6.0.19

  • org.springframework:spring-webMaven

    From 6.1.0 · fixed in 6.1.6

References 3

spring.io

security.netapp.com

GitHub · Performant-Labs/CVE-2024-22262