Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56846?format=api",
    "purl": "pkg:maven/org.apache.cxf.fediz/fediz-spring2@1.4.3",
    "type": "maven",
    "namespace": "org.apache.cxf.fediz",
    "name": "fediz-spring2",
    "version": "1.4.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.2.3",
    "latest_non_vulnerable_version": "1.4.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39194?format=api",
            "vulnerability_id": "VCID-zw44-zqrm-jycc",
            "summary": "Cross-Site Request Forgery (CSRF)\nApache CXF Fediz ships with a number of container-specific plugins to enable WS-Federation for applications. A CSRF (Cross Style Request Forgery) style vulnerability has been found in the Spring 2, Spring 3 and Spring 4 plugins. The vulnerability can result in a security context that is set up using a malicious client's roles for the given enduser.",
            "references": [
                {
                    "reference_url": "http://www.securityfocus.com/bid/102127",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/102127"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12631",
                    "reference_id": "CVE-2017-12631",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12631"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-fv7x-4hpc-hf9f",
                    "reference_id": "GHSA-fv7x-4hpc-hf9f",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-fv7x-4hpc-hf9f"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56845?format=api",
                    "purl": "pkg:maven/org.apache.cxf.fediz/fediz-spring2@1.3.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.cxf.fediz/fediz-spring2@1.3.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56846?format=api",
                    "purl": "pkg:maven/org.apache.cxf.fediz/fediz-spring2@1.4.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.cxf.fediz/fediz-spring2@1.4.3"
                }
            ],
            "aliases": [
                "CVE-2017-12631",
                "GHSA-fv7x-4hpc-hf9f"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zw44-zqrm-jycc"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.cxf.fediz/fediz-spring2@1.4.3"
}