CVE-2024-22262

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

State
Published
Severity
8.1 High
Published
Apr 16, 2024
Updated
Feb 13, 2025
Reserved
Jan 8, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Nvmware

Weaknesses

  • CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
  • CWE-918 Server-Side Request Forgery (SSRF)

Affected Products

ProductVersions
Spring FrameworkSpring
  • 6.1.x to before 6.1.6Affected
  • 6.0.x to before 6.0.19Affected
  • 5.3.x to before 5.3.34Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.