Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/11287?format=api",
    "purl": "pkg:pypi/diffoscope@49",
    "type": "pypi",
    "namespace": "",
    "name": "diffoscope",
    "version": "49",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "77",
    "latest_non_vulnerable_version": "77",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35200?format=api",
            "vulnerability_id": "VCID-881t-fv6t-ybaw",
            "summary": "diffoscope before 77 writes to arbitrary locations on disk based on the contents of an untrusted archive.",
            "references": [
                {
                    "reference_url": "https://bugs.debian.org/854723",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/854723"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8p5c-f328-9fvv",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8p5c-f328-9fvv"
                },
                {
                    "reference_url": "https://security-tracker.debian.org/tracker/CVE-2017-0359",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security-tracker.debian.org/tracker/CVE-2017-0359"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/11311?format=api",
                    "purl": "pkg:pypi/diffoscope@77",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/diffoscope@77"
                }
            ],
            "aliases": [
                "CVE-2017-0359",
                "GHSA-8p5c-f328-9fvv",
                "PYSEC-2018-83"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-881t-fv6t-ybaw"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/diffoscope@49"
}