CVE-2024-22262
April 16, 2024
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 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-22259 https://spring.io/security/cve-2024-22259 and CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.
Affected Packages
org.springframework:spring-web (JAVA):
Affected version(s) >=1.0-rc1 <5.3.34Fix Suggestion:
Update to version 5.3.34org.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.19Fix Suggestion:
Update to version 6.0.19org.springframework:spring-web (JAVA):
Affected version(s) >=6.1.0 <6.1.6Fix Suggestion:
Update to version 6.1.6Related Resources (6)
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)
EPSS
Base Score:
11.92