GHSA-ccgv-vj62-xf9h
Spring Web vulnerable to Open Redirect or Server Side Request Forgery
At a glance
- Published
- Updated
- CVE
- CVE-2024-22243
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
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 attack or to a SSRF attack if the URL is used after passing validation checks.
Affected packages
| Package | Versions |
|---|---|
| Maven · org.springframework:spring-web | introduced 6.1.0, fixed 6.1.4 |
| Maven · org.springframework:spring-web | introduced 6.0.0, fixed 6.0.17 |
| Maven · org.springframework:spring-web | introduced 5.3.0, fixed 5.3.32 |
| Maven · org.springframework:spring-web | introduced 0, last affected 5.2.25.RELEASE |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-22243 ADVISORY
- https://github.com/spring-projects/spring-framework PACKAGE
- https://github.com/spring-projects/spring-framework/blob/main/spring-web/src/main/java/org/springframework/web/util/UriComponentsBuilder.java WEB
- https://security.netapp.com/advisory/ntap-20240524-0001 WEB
- https://spring.io/security/cve-2024-22243 WEB
- http://seclists.org/fulldisclosure/2024/Sep/24 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |