Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61252?format=api",
    "purl": "pkg:maven/org.springframework/spring-expression@5.3.16",
    "type": "maven",
    "namespace": "org.springframework",
    "name": "spring-expression",
    "version": "5.3.16",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.3.26",
    "latest_non_vulnerable_version": "6.0.8",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42821?format=api",
            "vulnerability_id": "VCID-yqhz-ueqh-kfc4",
            "summary": "Allocation of Resources Without Limits or Throttling in Spring Framework\nIn Spring Framework versions 5.3.0 - 5.3.16 and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a Denial of Service.",
            "references": [
                {
                    "reference_url": "https://github.com/spring-projects/spring-framework/commit/83ac65915871067c39a4fb255e0d484c785c0c11",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/spring-projects/spring-framework/commit/83ac65915871067c39a4fb255e0d484c785c0c11"
                },
                {
                    "reference_url": "https://github.com/spring-projects/spring-framework/issues/28145",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/spring-projects/spring-framework/issues/28145"
                },
                {
                    "reference_url": "https://github.com/spring-projects/spring-framework/issues/28257",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/spring-projects/spring-framework/issues/28257"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22950",
                    "reference_id": "CVE-2022-22950",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-22950"
                },
                {
                    "reference_url": "https://tanzu.vmware.com/security/cve-2022-22950",
                    "reference_id": "CVE-2022-22950",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://tanzu.vmware.com/security/cve-2022-22950"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-558x-2xjg-6232",
                    "reference_id": "GHSA-558x-2xjg-6232",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-558x-2xjg-6232"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61251?format=api",
                    "purl": "pkg:maven/org.springframework/spring-expression@5.2.20",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-expression@5.2.20"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61252?format=api",
                    "purl": "pkg:maven/org.springframework/spring-expression@5.3.16",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-expression@5.3.16"
                }
            ],
            "aliases": [
                "CVE-2022-22950",
                "GHSA-558x-2xjg-6232"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-yqhz-ueqh-kfc4"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.springframework/spring-expression@5.3.16"
}