Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/51674?format=api",
    "purl": "pkg:maven/org.apache.solr/solr-velocity@4.5.1",
    "type": "maven",
    "namespace": "org.apache.solr",
    "name": "solr-velocity",
    "version": "4.5.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.6.0",
    "latest_non_vulnerable_version": "4.6.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37605?format=api",
            "vulnerability_id": "VCID-5w3j-gqqb-qbgf",
            "summary": "Path Traversal\nDirectory traversal vulnerability in `SolrResourceLoader` in Apache Solr allows remote attackers to read arbitrary files via a `..` (dot dot) or full pathname in the tr parameter to `solr/select/`, when the response writer (wt parameter) is set to XSLT.",
            "references": [
                {
                    "reference_url": "https://bugzilla.redhat.com/CVE-2013-6397",
                    "reference_id": "CVE-2013-6397",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/CVE-2013-6397"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/51675?format=api",
                    "purl": "pkg:maven/org.apache.solr/solr-velocity@4.6.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.solr/solr-velocity@4.6.0"
                }
            ],
            "aliases": [
                "CVE-2013-6397"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5w3j-gqqb-qbgf"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.solr/solr-velocity@4.5.1"
}