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

PackageVersions
Maven · org.springframework:spring-webintroduced 6.1.0, fixed 6.1.4
Maven · org.springframework:spring-webintroduced 6.0.0, fixed 6.0.17
Maven · org.springframework:spring-webintroduced 5.3.0, fixed 5.3.32
Maven · org.springframework:spring-webintroduced 0, last affected 5.2.25.RELEASE

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database