CVE-2024-22259

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

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

Read the record on cve.org

Description

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.

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')

Affected Products

ProductVersions
Spring FrameworkSpring
  • 6.1.x to before 6.1.5Affected
  • 6.0.x to before 6.0.18Affected
  • 5.3.x to before 5.3.33Affected

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.