Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/6118?format=api",
    "purl": "pkg:deb/debian/libfastjson@1.2304.0-1",
    "type": "deb",
    "namespace": "debian",
    "name": "libfastjson",
    "version": "1.2304.0-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5775?format=api",
            "vulnerability_id": "VCID-z4vc-f54q-cfcm",
            "summary": "information disclosure",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12762",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12762"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1160",
                    "reference_id": "AVG-1160",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1160"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/6118?format=api",
                    "purl": "pkg:deb/debian/libfastjson@1.2304.0-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libfastjson@1.2304.0-1"
                }
            ],
            "aliases": [
                "CVE-2020-12762"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z4vc-f54q-cfcm"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/libfastjson@1.2304.0-1"
}