Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56859?format=api",
    "purl": "pkg:maven/org.apache.cxf.fediz/fediz-spring2@1.2.4",
    "type": "maven",
    "namespace": "org.apache.cxf.fediz",
    "name": "fediz-spring2",
    "version": "1.2.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.3.1",
    "latest_non_vulnerable_version": "1.4.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38616?format=api",
            "vulnerability_id": "VCID-65a6-3ngq-kke9",
            "summary": "Cross-Site Request Forgery (CSRF)\nApache CXF Fediz ships with a number of container-specific plugins to enable WS-Federation for applications that were found vulnerable to Cross-Site Request Forgery.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7661",
                    "reference_id": "CVE-2017-7661",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7661"
                },
                {
                    "reference_url": "http://cxf.apache.org/security-advisories.data/CVE-2017-7661.txt.asc",
                    "reference_id": "CVE-2017-7661.TXT.ASC",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://cxf.apache.org/security-advisories.data/CVE-2017-7661.txt.asc"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-whw7-h25v-9qvx",
                    "reference_id": "GHSA-whw7-h25v-9qvx",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-whw7-h25v-9qvx"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56859?format=api",
                    "purl": "pkg:maven/org.apache.cxf.fediz/fediz-spring2@1.2.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.cxf.fediz/fediz-spring2@1.2.4"
                }
            ],
            "aliases": [
                "CVE-2017-7661",
                "GHSA-whw7-h25v-9qvx"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-65a6-3ngq-kke9"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.cxf.fediz/fediz-spring2@1.2.4"
}