CVE-2024-22262
Java vulnerability analysis and mitigation

Overview

CVE-2024-22262 affects applications using Spring Framework's UriComponentsBuilder to parse externally provided URLs. The vulnerability was discovered and reported by L0ne1y, affecting Spring Framework versions 6.1.0-6.1.5, 6.0.0-6.0.18, and 5.3.0-5.3.33, as well as older unsupported versions. The issue was publicly disclosed on April 11, 2024, and involves potential open redirect attacks or Server-Side Request Forgery (SSRF) when performing validation checks on parsed URL hosts (Spring Security).

Technical details

The vulnerability occurs when applications use UriComponentsBuilder to parse externally provided URLs (such as through query parameters) and perform validation checks on the host of the parsed URL. The issue has been assigned a CVSS v3.1 base score of 8.1 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N, indicating network vector attack with low complexity, requiring no privileges but user interaction (NetApp Security).

Impact

Successful exploitation of this vulnerability could lead to open redirect attacks or SSRF attacks if the URL is used after passing validation checks. The potential impact includes disclosure of sensitive information and the ability to add or modify data (NetApp Security).

Mitigation and workarounds

Users of affected versions should upgrade to the corresponding fixed versions: Spring Framework 6.1.6 for 6.1.x users, 6.0.19 for 6.0.x users, and 5.3.34 for 5.3.x users. These patches are available as open-source software (OSS) releases (Spring Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management