Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57296?format=api",
    "purl": "pkg:maven/org.apache.thrift/libthrift@0.5.0",
    "type": "maven",
    "namespace": "org.apache.thrift",
    "name": "libthrift",
    "version": "0.5.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.9.3",
    "latest_non_vulnerable_version": "0.12.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40585?format=api",
            "vulnerability_id": "VCID-1r1s-a76q-33fu",
            "summary": "Improper Input Validation\nAn Apache Thrift Java client library can bypass SASL negotiation validation in the `org.apache.thrift.transport.TSaslTransport` class.",
            "references": [
                {
                    "reference_url": "http://www.securityfocus.com/bid/106551",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/106551"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1320",
                    "reference_id": "CVE-2018-1320",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1320"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57298?format=api",
                    "purl": "pkg:maven/org.apache.thrift/libthrift@0.12.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.12.0"
                }
            ],
            "aliases": [
                "CVE-2018-1320"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1r1s-a76q-33fu"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.thrift/libthrift@0.5.0"
}