{"id":"CVE-2024-22259","aliases":["GHSA-hgjh-9rj2-g67j"],"url":"https://o3.security/vulnerability/CVE-2024-22259","summary":"CVE-2024-22259: Spring Framework URL Parsing with Host Validation (2nd report)","details":"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.\n\nThis is the same as  CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.","published":"2024-03-16T04:40:08.680Z","modified":"2026-08-12T03:51:15.484421752Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework:spring-web","fixedVersion":"6.1.5"},{"ecosystem":"Maven","name":"org.springframework:spring-web","fixedVersion":"6.0.18"},{"ecosystem":"Maven","name":"org.springframework:spring-web","fixedVersion":"5.3.33"}],"fix":{"url":"https://github.com/spring-projects/spring-framework/commit/297cbae2990e1413537c55845a7e0ea0ffd9f9bb","label":"spring-projects/spring-framework@297cbae"},"references":[{"type":"WEB","url":"https://spring.io/security/cve-2024-22259"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22259.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22259"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240524-0002/"},{"type":"WEB","url":"https://github.com/spring-projects/spring-framework/commit/297cbae2990e1413537c55845a7e0ea0ffd9f9bb"},{"type":"WEB","url":"https://github.com/spring-projects/spring-framework/commit/381f790329a48b74c2a49fc1384dd68ca9153501"},{"type":"WEB","url":"https://github.com/spring-projects/spring-framework/commit/f2fd2f12269c6a781c5b2c20b3c24141055a3d68"},{"type":"WEB","url":"https://github.com/spring-projects/spring-framework"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20240524-0002"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:15.484421752Z"}}