Vulnerability · Published Feb 23, 2024 · Assigned by vmware

CVE-2024-22243CVE-2024-22243: Spring Framework URL Parsing with Host Validation

High 8.1

In plain English

A high-severity open redirect in Spring Framework from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)4.0%top 9.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libspring-javano fix listedDEBIAN-CVE-2024-22243
Debian:13libspring-javano fix listedDEBIAN-CVE-2024-22243
Debian:14libspring-javano fix listedDEBIAN-CVE-2024-22243
Mavenorg.springframework:spring-webno fix listedGHSA-ccgv-vj62-xf9h
Mavenorg.springframework:spring-web6.1.4GHSA-ccgv-vj62-xf9h
Mavenorg.springframework:spring-web6.0.17GHSA-ccgv-vj62-xf9h
Mavenorg.springframework:spring-web5.3.32GHSA-ccgv-vj62-xf9h
Ubuntu:25.10libspring-javano fix listedUBUNTU-CVE-2024-22243
Ubuntu:26.04:LTSlibspring-javano fix listedUBUNTU-CVE-2024-22243
Ubuntu:26.10libspring-javano fix listedUBUNTU-CVE-2024-22243

Affected products (as reported)

VendorProductVersions
Spring Spring Framework 6.0.x – before 6.0.176.1.x – before 6.1.45.3.x – before 5.3.32

Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

References