Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/53560?format=api",
    "purl": "pkg:nuget/Microsoft.AspNet.Mvc@1.1.0",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNet.Mvc",
    "version": "1.1.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.1.3",
    "latest_non_vulnerable_version": "5.1.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38609?format=api",
            "vulnerability_id": "VCID-bvaa-3y8n-4ugc",
            "summary": "Improper Input Validation\nA denial of service vulnerability exists when the ASP.NET Core fails to properly validate web requests. NOTE: Microsoft has not commented on third-party claims that the issue is that the TextEncoder.EncodeCore function in the System.Text.Encodings.Web package in ASP.NET Core Mvc allows remote attackers to cause a denial of service by leveraging failure to properly calculate the length of 4-byte characters in the Unicode Non-Character range.",
            "references": [
                {
                    "reference_url": "https://github.com/aspnet/Announcements/issues/239",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aspnet/Announcements/issues/239"
                },
                {
                    "reference_url": "https://technet.microsoft.com/en-us/library/security/4021279.aspx",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://technet.microsoft.com/en-us/library/security/4021279.aspx"
                },
                {
                    "reference_url": "https://www.sidertia.com/Home/Community/Blog/2017/05/18/ASPNET-Core-Unicode-Non-Char-Encoding-DoS",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.sidertia.com/Home/Community/Blog/2017/05/18/ASPNET-Core-Unicode-Non-Char-Encoding-DoS"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0247",
                    "reference_id": "CVE-2017-0247",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-0247"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6xh7-4v2w-36q6",
                    "reference_id": "GHSA-6xh7-4v2w-36q6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6xh7-4v2w-36q6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53561?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNet.Mvc@1.1.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNet.Mvc@1.1.3"
                }
            ],
            "aliases": [
                "CVE-2017-0247",
                "GHSA-6xh7-4v2w-36q6"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bvaa-3y8n-4ugc"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNet.Mvc@1.1.0"
}