Spring Framework URL Parsing Vulnerability 

Issue date: 14-08-2024
Affects versions: 15.7, 15.6

Security Issue ID

SECURITY-569

 

Affected Product Version(s)

15.7 (and previous patch releases)

 

Severity 

High

 

Description

CVE-2024-22262

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.

CVSS v3 Base Score: 8.1

CWE-918: Server-Side Request Forgery (SSRF)

CWE-601:URL Redirection to Untrusted Site ('Open Redirect')

Instructions

Customers are recommended to upgrade to the latest version. As of the time of writing, 16.0.0.