Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63035?format=api",
    "purl": "pkg:maven/org.elasticsearch/elasticsearch@1.4.2",
    "type": "maven",
    "namespace": "org.elasticsearch",
    "name": "elasticsearch",
    "version": "1.4.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.3.8",
    "latest_non_vulnerable_version": "9.2.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43870?format=api",
            "vulnerability_id": "VCID-a1w3-gz1w-2yae",
            "summary": "Improper Access Control\nThe Groovy scripting engine in Elasticsearch before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to bypass the sandbox protection mechanism and execute arbitrary shell commands via a crafted script.",
            "references": [
                {
                    "reference_url": "http://packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://packetstormsecurity.com/files/130368/Elasticsearch-1.3.7-1.4.2-Sandbox-Escape-Command-Execution.html"
                },
                {
                    "reference_url": "http://packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://packetstormsecurity.com/files/130784/ElasticSearch-Unauthenticated-Remote-Code-Execution.html"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:0868",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:0868"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/100850",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/100850"
                },
                {
                    "reference_url": "https://www.elastic.co/community/security/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.elastic.co/community/security/"
                },
                {
                    "reference_url": "http://www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.elasticsearch.com/blog/elasticsearch-1-4-3-1-3-8-released/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1427",
                    "reference_id": "CVE-2015-1427",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1427"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-w94p-6mhw-4qxw",
                    "reference_id": "GHSA-w94p-6mhw-4qxw",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-w94p-6mhw-4qxw"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63037?format=api",
                    "purl": "pkg:maven/org.elasticsearch/elasticsearch@1.4.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@1.4.3"
                }
            ],
            "aliases": [
                "CVE-2015-1427",
                "GHSA-w94p-6mhw-4qxw"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a1w3-gz1w-2yae"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.elasticsearch/elasticsearch@1.4.2"
}