HIGH8.1
GHSA-ccgv-vj62-xf9h
Spring Web vulnerable to Open Redirect or Server Side Request Forgery
Quick fix
GHSA-ccgv-vj62-xf9h — org.springframework:spring-web: upgrade to the fixed version with the command below.
# pom.xml: bump <version>6.1.4</version> for org.springframework:spring-webDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.springframework:spring-web
Introduced in:
6.1.0Fixed in: 6.1.4Fix
# pom.xml: bump <version>6.1.4</version> for org.springframework:spring-webMaven/org.springframework:spring-web
Introduced in:
6.0.0Fixed in: 6.0.17Fix
# pom.xml: bump <version>6.0.17</version> for org.springframework:spring-webMaven/org.springframework:spring-web
Introduced in:
5.3.0Fixed in: 5.3.32Fix
# pom.xml: bump <version>5.3.32</version> for org.springframework:spring-webMaven/org.springframework:spring-web
Introduced in:
0No fixed version published yet for org.springframework:spring-web (maven). Pin to a known-safe version or switch to an alternative.
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]