Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/205320?format=api",
    "purl": "pkg:pypi/django-discord-bind@0.1.2",
    "type": "pypi",
    "namespace": "",
    "name": "django-discord-bind",
    "version": "0.1.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.2.0",
    "latest_non_vulnerable_version": "0.2.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38197?format=api",
            "vulnerability_id": "VCID-cx61-cy3w-sbg5",
            "summary": "This package is vulnerable to Cross-Site Request Forgery (CSRF) attacks.",
            "references": [
                {
                    "reference_url": "https://github.com/mrogaski/django-discord-bind/commit/b586a9c9c4cad3cf17f46b34e7faa5174ce04fa8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mrogaski/django-discord-bind/commit/b586a9c9c4cad3cf17f46b34e7faa5174ce04fa8"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52861?format=api",
                    "purl": "pkg:pypi/django-discord-bind@0.2.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-discord-bind@0.2.0"
                }
            ],
            "aliases": [
                "GMS-2016-60"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-cx61-cy3w-sbg5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-discord-bind@0.1.2"
}