CVE-2024-22259

Source
https://cve.org/CVERecord?id=CVE-2024-22259
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-22259.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-22259
Aliases
Downstream
Related
Published
2024-03-16T04:40:08.680Z
Modified
2026-05-28T04:09:47.096456691Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
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.

This is the same as CVE-2024-22243 https://spring.io/security/cve-2024-22243 , but with different input.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/22xxx/CVE-2024-22259.json",
    "cna_assigner": "vmware",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "6.1.x"
                },
                {
                    "fixed": "6.1.5"
                },
                {
                    "introduced": "6.0.x"
                },
                {
                    "fixed": "6.0.18"
                },
                {
                    "introduced": "5.3.x"
                },
                {
                    "fixed": "5.3.33"
                }
            ],
            "source": "AFFECTED_FIELD"
        },
        {
            "extracted_events": [
                {
                    "introduced": "e.g"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / github.com/spring-projects/spring-framework

Affected ranges

Type
GIT
Repo
https://github.com/spring-projects/spring-framework
Events
Database specific
{
    "cpe": "cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.3.33"
        },
        {
            "introduced": "6.0.0"
        },
        {
            "fixed": "6.0.18"
        },
        {
            "introduced": "6.1.0"
        },
        {
            "fixed": "6.1.5"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v3.*
v3.2.0.M1
v3.2.0.M2
v3.2.0.RC1
v3.2.0.RC2-A
v3.2.0.RELEASE
v4.*
v4.0.0.M1
v4.0.0.M2
v4.0.0.M3
v4.0.0.RC1
v4.0.0.RC2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-22259.json"