GHSA-ccgv-vj62-xf9h
Spring Web vulnerable to Open Redirect or Server Side Request Forgery
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework:spring-web | >= 6.1.0, < 6.1.4 | 6.1.4 |
| Maven | org.springframework:spring-web | >= 6.0.0, < 6.0.17 | 6.0.17 |
| Maven | org.springframework:spring-web | >= 5.3.0, < 5.3.32 | 5.3.32 |
| Maven | org.springframework:spring-web | <= 5.2.25.RELEASE | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2024-22243
- https://github.com/spring-projects/spring-framework
- https://github.com/spring-projects/spring-framework/blob/main/spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.jav…
- https://security.netapp.com/advisory/ntap-20240524-0001
- https://spring.io/security/cve-2024-22243
- http://seclists.org/fulldisclosure/2024/Sep/24