Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56071?format=api",
    "purl": "pkg:nuget/Microsoft.AspNet.Mvc@5.2.0",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNet.Mvc",
    "version": "5.2.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11?format=api",
            "vulnerability_id": "VCID-zrsj-apsr-wqh1",
            "summary": "Microsoft Security Advisory CVE-2018-8171: ASP.NET Core Security Feature Bypass Vulnerability",
            "references": [
                {
                    "reference_url": "https://github.com/aspnet/Announcements/issues/310",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aspnet/Announcements/issues/310"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/104659",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/104659"
                },
                {
                    "reference_url": "http://www.securitytracker.com/id/1041267",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securitytracker.com/id/1041267"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8171",
                    "reference_id": "CVE-2018-8171",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8171"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8171",
                    "reference_id": "CVE-2018-8171",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8171"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vhvh-528q-ff3p",
                    "reference_id": "GHSA-vhvh-528q-ff3p",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vhvh-528q-ff3p"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2018-8171",
                "GHSA-vhvh-528q-ff3p"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zrsj-apsr-wqh1"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNet.Mvc@5.2.0"
}