CVE-2024-22259
March 16, 2024
Applications that use UriComponentsBuilder in Spring Framework 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 https://cwe.mitre.org/data/definitions/601.html attack or to a SSRF attack if the URL is used after passing validation checks.
This is the same as CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.
Affected Packages
org.springframework:spring-web (JAVA):
Affected version(s) >=4.3.0.RELEASE <4.3.30-spring-framework-4.3.31Fix Suggestion:
Update to version 4.3.30-spring-framework-4.3.31org.springframework:spring-web (JAVA):
Affected version(s) >=6.0.0 <6.0.18Fix Suggestion:
Update to version 6.0.18org.springframework:spring-web (JAVA):
Affected version(s) >=6.1.0 <6.1.5Fix Suggestion:
Update to version 6.1.5org.springframework:spring-web (JAVA):
Affected version(s) >=1.0-rc1 <5.3.33Fix Suggestion:
Update to version 5.3.33Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
URL Redirection to Untrusted Site ('Open Redirect')
EPSS
Base Score:
50.92