Open Redirect Affecting org.springframework:spring-web package, versions [,5.3.34)[6.0.0, 6.0.19)[6.1.0, 6.1.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORK-6597980
  • published12 Apr 2024
  • disclosed11 Apr 2024
  • creditL0ne1y

Introduced: 11 Apr 2024

CVE-2024-22262  (opens in a new tab)
CWE-601  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade org.springframework:spring-web to version 5.3.34, 6.0.19, 6.1.6 or higher.

Overview

org.springframework:spring-web is a package that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

Affected versions of this package are vulnerable to Open Redirect when UriComponentsBuilder is used to parse an externally provided URL and perform validation checks on the host of the parsed URL.

Note: This is the same as CVE-2024-22259 and CVE-2024-22243, but with different input.

References

CVSS Scores

version 3.1