Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/55969?format=api",
    "purl": "pkg:gem/json-jwt@0.5.0",
    "type": "gem",
    "namespace": "",
    "name": "json-jwt",
    "version": "0.5.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.9.4",
    "latest_non_vulnerable_version": "1.16.6",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40022?format=api",
            "vulnerability_id": "VCID-jwar-cch4-v3c8",
            "summary": "Improper Verification of Cryptographic Signature\n`json-jwt` is vulnerable to improper verification of cryptographic signatures when decrypting AES-GCM encrypted JSON Web Tokens. This can result in an attacker being able to forge an authentication tag.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000539",
                    "reference_id": "CVE-2018-1000539",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000539"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55970?format=api",
                    "purl": "pkg:gem/json-jwt@1.9.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/json-jwt@1.9.4"
                }
            ],
            "aliases": [
                "CVE-2018-1000539"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jwar-cch4-v3c8"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/json-jwt@0.5.0"
}