Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/16818?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/16818?format=api",
    "vulnerability_id": "VCID-dnat-v8gu-aqdn",
    "summary": "Spring Framework URL Parsing with Host Validation Vulnerability\nApplications 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.",
    "aliases": [
        {
            "alias": "CVE-2024-22259"
        },
        {
            "alias": "GHSA-hgjh-9rj2-g67j"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56468?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@5.3.33",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ng1-3a32-cugs"
                },
                {
                    "vulnerability": "VCID-kpma-e8rd-b7c8"
                },
                {
                    "vulnerability": "VCID-x5w8-j62d-m7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@5.3.33"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56466?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@6.0.18",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ng1-3a32-cugs"
                },
                {
                    "vulnerability": "VCID-x5w8-j62d-m7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@6.0.18"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56464?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@6.1.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5ng1-3a32-cugs"
                },
                {
                    "vulnerability": "VCID-x5w8-j62d-m7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@6.1.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63096?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2syk-pe22-f7cd"
                },
                {
                    "vulnerability": "VCID-5ng1-3a32-cugs"
                },
                {
                    "vulnerability": "VCID-dnat-v8gu-aqdn"
                },
                {
                    "vulnerability": "VCID-pzz7-mfs4-rfda"
                },
                {
                    "vulnerability": "VCID-x5w8-j62d-m7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63097?format=api",
            "purl": "pkg:maven/org.springframework/spring-web@6.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2syk-pe22-f7cd"
                },
                {
                    "vulnerability": "VCID-5ng1-3a32-cugs"
                },
                {
                    "vulnerability": "VCID-dnat-v8gu-aqdn"
                },
                {
                    "vulnerability": "VCID-pzz7-mfs4-rfda"
                },
                {
                    "vulnerability": "VCID-q4ad-g67b-efaj"
                },
                {
                    "vulnerability": "VCID-x5w8-j62d-m7h6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-web@6.1.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-22259.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-22259.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-22259",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.56395",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98121",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.56395",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98125",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.56395",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98123",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.56395",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98117",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.56395",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98116",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.56395",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98111",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.56395",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98107",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.56395",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98103",
                    "published_at": "2026-04-02T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-22259"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-22259",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-22259"
        },
        {
            "reference_url": "https://github.com/spring-projects/spring-framework",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/spring-projects/spring-framework"
        },
        {
            "reference_url": "https://github.com/spring-projects/spring-framework/commit/297cbae2990e1413537c55845a7e0ea0ffd9f9bb",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/spring-projects/spring-framework/commit/297cbae2990e1413537c55845a7e0ea0ffd9f9bb"
        },
        {
            "reference_url": "https://github.com/spring-projects/spring-framework/commit/381f790329a48b74c2a49fc1384dd68ca9153501",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/spring-projects/spring-framework/commit/381f790329a48b74c2a49fc1384dd68ca9153501"
        },
        {
            "reference_url": "https://github.com/spring-projects/spring-framework/commit/f2fd2f12269c6a781c5b2c20b3c24141055a3d68",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/spring-projects/spring-framework/commit/f2fd2f12269c6a781c5b2c20b3c24141055a3d68"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-22259",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-22259"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20240524-0002",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20240524-0002"
        },
        {
            "reference_url": "https://spring.io/security/cve-2024-22259",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-08-27T03:55:11Z/"
                }
            ],
            "url": "https://spring.io/security/cve-2024-22259"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2269846",
            "reference_id": "2269846",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2269846"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hgjh-9rj2-g67j",
            "reference_id": "GHSA-hgjh-9rj2-g67j",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-hgjh-9rj2-g67j"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20240524-0002/",
            "reference_id": "ntap-20240524-0002",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-08-27T03:55:11Z/"
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20240524-0002/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 601,
            "name": "URL Redirection to Untrusted Site ('Open Redirect')",
            "description": "A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dnat-v8gu-aqdn"
}