Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57000?format=api",
    "purl": "pkg:maven/org.apache.qpid/proton-j@0.29.0",
    "type": "maven",
    "namespace": "org.apache.qpid",
    "name": "proton-j",
    "version": "0.29.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.12.1",
    "latest_non_vulnerable_version": "0.30.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40432?format=api",
            "vulnerability_id": "VCID-p8k1-664d-yfg4",
            "summary": "Improper Certificate Validation\nThe Apache Qpid Proton-J transport includes an optional wrapper layer to perform TLS, enabled by use of the `transport.ssl(...)` methods. Unless a verification mode was explicitly configured, client and server modes previously defaulted as documented to not verifying a peer certificate, with options to configure this explicitly or select a certificate verification mode with or without hostname verification being performed.",
            "references": [
                {
                    "reference_url": "https://issues.apache.org/jira/browse/PROTON-1962",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://issues.apache.org/jira/browse/PROTON-1962"
                },
                {
                    "reference_url": "https://mail-archives.apache.org/mod_mbox/qpid-users/201811.mbox/%3CCAFitrpQSV73Vz7rJYfLJK7gvEymZSCR5ooWUeU8j4jzRydk-eg%40mail.gmail.com%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://mail-archives.apache.org/mod_mbox/qpid-users/201811.mbox/%3CCAFitrpQSV73Vz7rJYfLJK7gvEymZSCR5ooWUeU8j4jzRydk-eg%40mail.gmail.com%3E"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/105935",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/105935"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17187",
                    "reference_id": "CVE-2018-17187",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17187"
                },
                {
                    "reference_url": "https://qpid.apache.org/cves/CVE-2018-17187.html",
                    "reference_id": "CVE-2018-17187.HTML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://qpid.apache.org/cves/CVE-2018-17187.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57001?format=api",
                    "purl": "pkg:maven/org.apache.qpid/proton-j@0.30.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.qpid/proton-j@0.30.0"
                }
            ],
            "aliases": [
                "CVE-2018-17187"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p8k1-664d-yfg4"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.qpid/proton-j@0.29.0"
}