Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/52899?format=api",
    "purl": "pkg:maven/org.apache.derby/derby@10.12.1.1",
    "type": "maven",
    "namespace": "org.apache.derby",
    "name": "derby",
    "version": "10.12.1.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "10.14.2.0",
    "latest_non_vulnerable_version": "10.17.1.0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38218?format=api",
            "vulnerability_id": "VCID-87wb-n62p-8ba3",
            "summary": "Improper Restriction of XML External Entity Reference\nXML external entity (XXE) vulnerability in the `SqlXmlUtil` code in Apache Derby, when a Java Security Manager is not in place, allows context-dependent attackers to read arbitrary files or cause a denial of service (resource consumption) via vectors involving `XmlVTI` and the XML datatype.",
            "references": [
                {
                    "reference_url": "https://issues.apache.org/jira/browse/DERBY-6807",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/DERBY-6807"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52899?format=api",
                    "purl": "pkg:maven/org.apache.derby/derby@10.12.1.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.derby/derby@10.12.1.1"
                }
            ],
            "aliases": [
                "CVE-2015-1832"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-87wb-n62p-8ba3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.derby/derby@10.12.1.1"
}