Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56181?format=api",
    "purl": "pkg:maven/org.jenkins-ci.plugins/dist-fork@1.5.0",
    "type": "maven",
    "namespace": "org.jenkins-ci.plugins",
    "name": "dist-fork",
    "version": "1.5.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40120?format=api",
            "vulnerability_id": "VCID-86f7-gfk5-2qf6",
            "summary": "Improper Authentication\nThe Distributed Fork plugin for Jenkins that provides the dist-fork CLI command beyond the basic check for `Overall/Read` permission, allowing anyone with that permission to run arbitrary shell commands on all connected nodes.",
            "references": [
                {
                    "reference_url": "https://jenkins.io/security/advisory/2017-03-20/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://jenkins.io/security/advisory/2017-03-20/"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/96980",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/96980"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-2652",
                    "reference_id": "CVE-2017-2652",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-2652"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-2cm5-f78c-h2c8",
                    "reference_id": "GHSA-2cm5-f78c-h2c8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-2cm5-f78c-h2c8"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2017-2652",
                "GHSA-2cm5-f78c-h2c8"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-86f7-gfk5-2qf6"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.jenkins-ci.plugins/dist-fork@1.5.0"
}