Investigate vulnerability: Spring Framework URL Parsing with Host Validation Vulnerability
Issue created from vulnerability 111572830
Description:
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.
- Severity: high
- Location: pom.xml
Solution:
Upgrade to versions 5.3.33, 6.0.18, 6.1.5 or above.
Identifiers:
- CWE-1035
- CWE-937
- Gemnasium-02633a19-29c1-412d-a229-f34756577812
- GHSA-hgjh-9rj2-g67j
- CVE-2024-22259
- CWE-601
Links:
- https://nvd.nist.gov/vuln/detail/CVE-2024-22259
- https://github.com/advisories/GHSA-hgjh-9rj2-g67j
- https://github.com/spring-projects/spring-framework/commit/297cbae2990e1413537c55845a7e0ea0ffd9f9bb
- https://github.com/spring-projects/spring-framework/commit/381f790329a48b74c2a49fc1384dd68ca9153501
- https://github.com/spring-projects/spring-framework/commit/f2fd2f12269c6a781c5b2c20b3c24141055a3d68
- https://github.com/spring-projects/spring-framework
- https://spring.io/security/cve-2024-22259
Scanner:
- Name: GitLab SBoM Vulnerability Scanner