Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/63454?format=api",
    "purl": "pkg:maven/org.apache.ambari/ambari@1.5.0",
    "type": "maven",
    "namespace": "org.apache.ambari",
    "name": "ambari",
    "version": "1.5.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.1.0",
    "latest_non_vulnerable_version": "2.7.8",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44127?format=api",
            "vulnerability_id": "VCID-ap3m-p2e2-kueh",
            "summary": "Apache Ambari SSRF Vulnerability\nServer-side request forgery (SSRF) vulnerability in the proxy endpoint (api/v1/proxy) in Apache Ambari before 2.1.0 allows remote authenticated users to conduct port scans and access unsecured services via a crafted REST call.",
            "references": [
                {
                    "reference_url": "https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Vulnerabilities#AmbariVulnerabilities-FixedinAmbari2.1.0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Vulnerabilities#AmbariVulnerabilities-FixedinAmbari2.1.0"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2015/10/13/2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2015/10/13/2"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1775",
                    "reference_id": "CVE-2015-1775",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1775"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-9g2j-5685-h44h",
                    "reference_id": "GHSA-9g2j-5685-h44h",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-9g2j-5685-h44h"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/63455?format=api",
                    "purl": "pkg:maven/org.apache.ambari/ambari@2.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.ambari/ambari@2.1.0"
                }
            ],
            "aliases": [
                "CVE-2015-1775",
                "GHSA-9g2j-5685-h44h"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ap3m-p2e2-kueh"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.ambari/ambari@1.5.0"
}