ADVISORIES

GitHub Advisory Database

GHSA-ccgv-vj62-xf9h

Spring Web vulnerable to Open Redirect or Server Side Request Forgery

Details

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 attack or to a SSRF attack if the URL is used after passing validation checks.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework:spring-web
From 6.1.0 before 6.1.4 (fixed in 6.1.4)
Mavenorg.springframework:spring-web
From 6.0.0 before 6.0.17 (fixed in 6.0.17)
Mavenorg.springframework:spring-web
From 5.3.0 before 5.3.32 (fixed in 5.3.32)
Mavenorg.springframework:spring-web
All versions up to and including 5.2.25.RELEASE

References