Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56588?format=api",
    "purl": "pkg:nuget/Microsoft.AspNetCore.Server.Kestrel.Core@2.0.3",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNetCore.Server.Kestrel.Core",
    "version": "2.0.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.0.4",
    "latest_non_vulnerable_version": "2.3.6",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40299?format=api",
            "vulnerability_id": "VCID-dqj9-4t8f-eyhs",
            "summary": "Moderate severity vulnerability that affects Microsoft.AspNetCore.All, Microsoft.AspNetCore.Server.Kestrel.Core, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions, and Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv\nMicrosoft made an internal discovery of a security vulnerability in version 2.x of ASP.NET Core where\na specially crafted request can cause excess resource consumption in Kestrel.",
            "references": [
                {
                    "reference_url": "https://github.com/aspnet/Announcements/issues/300",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aspnet/Announcements/issues/300"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3m2r-q8x3-xmf7",
                    "reference_id": "GHSA-3m2r-q8x3-xmf7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3m2r-q8x3-xmf7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56588?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.Server.Kestrel.Core@2.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.Server.Kestrel.Core@2.0.3"
                }
            ],
            "aliases": [
                "GHSA-3m2r-q8x3-xmf7",
                "GMS-2018-37",
                "GMS-2018-39",
                "GMS-2018-40",
                "GMS-2018-43"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dqj9-4t8f-eyhs"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.Server.Kestrel.Core@2.0.3"
}