- CVE ID
- CVE-2024-22262
- CVE 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 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.
- Published
- Apr 12, 2024
- CVSS Score & Severity
8.1High
- CVSS Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS Score
- 12.634%
- KEV Status
Not in KEV Catalog: No known exploits
- Vulnerable Methods
org/springframework/web/util/UriComponentsBuilder.fromHttpUrl(Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;JVMVulnerable params: 0
org/springframework/web/util/UriComponentsBuilder.fromOriginHeader(Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;JVMVulnerable params: 0
org/springframework/web/util/UriComponentsBuilder.fromUriString(Ljava/lang/String;)Lorg/springframework/web/util/UriComponentsBuilder;JVMVulnerable params: 0
org/springframework/web/util/UriUtils.encodeHttpUrl(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;JVMVulnerable params: 0
org/springframework/web/util/UriUtils.encodeUri(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;JVMVulnerable params: 0
- Source
- National Vulnerability Database