Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/10198?format=api",
    "purl": "pkg:pypi/django-cms@3.1.1",
    "type": "pypi",
    "namespace": "",
    "name": "django-cms",
    "version": "3.1.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.4.7",
    "latest_non_vulnerable_version": "3.7.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35085?format=api",
            "vulnerability_id": "VCID-8yrk-ntfb-d7e1",
            "summary": "Cross-site request forgery (CSRF) vulnerability in django CMS before 3.0.14, 3.1.x before 3.1.1 allows remote attackers to manipulate privileged users into performing unknown actions via unspecified vectors.",
            "references": [
                {
                    "reference_url": "https://github.com/divio/django-cms/commit/f77cbc607d6e2a62e63287d37ad320109a2cc78a",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/divio/django-cms/commit/f77cbc607d6e2a62e63287d37ad320109a2cc78a"
                },
                {
                    "reference_url": "https://www.django-cms.org/en/blog/2015/06/27/311-3014-release/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.django-cms.org/en/blog/2015/06/27/311-3014-release/"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2015/06/28/1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2015/06/28/1"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/10197?format=api",
                    "purl": "pkg:pypi/django-cms@3.0.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-cms@3.0.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/10198?format=api",
                    "purl": "pkg:pypi/django-cms@3.1.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-cms@3.1.1"
                }
            ],
            "aliases": [
                "CVE-2015-5081",
                "PYSEC-2017-11"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8yrk-ntfb-d7e1"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/django-cms@3.1.1"
}