Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56647?format=api",
    "purl": "pkg:nuget/Microsoft.AspNetCore.All@2.0.9",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNetCore.All",
    "version": "2.0.9",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.1.13",
    "latest_non_vulnerable_version": "5.0.9",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40292?format=api",
            "vulnerability_id": "VCID-d4mn-hm9u-3qbk",
            "summary": "Moderate severity vulnerability that affects Microsoft.AspNetCore.All, Microsoft.AspNetCore.App, and Microsoft.AspNetCore.Server.Kestrel.Core\nMicrosoft is aware of a denial of service vulnerability in ASP.NET Core when a malformed request is terminated. An attacker who successfully exploited this vulnerability could cause a denial of service attack.\n\nThe update addresses the vulnerability by correcting how ASP.NET Core handles such requests.",
            "references": [
                {
                    "reference_url": "https://github.com/aspnet/Announcements/issues/311",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aspnet/Announcements/issues/311"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-cgpw-2gph-2r9g",
                    "reference_id": "GHSA-cgpw-2gph-2r9g",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-cgpw-2gph-2r9g"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56647?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.All@2.0.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@2.0.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/41?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.All@2.1.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-3nh7-wm35-3kb2"
                        },
                        {
                            "vulnerability": "VCID-v6vu-9ybt-tqbc"
                        },
                        {
                            "vulnerability": "VCID-w8qv-heb5-87fd"
                        },
                        {
                            "vulnerability": "VCID-xgtm-9d66-rugc"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@2.1.2"
                }
            ],
            "aliases": [
                "GHSA-cgpw-2gph-2r9g",
                "GMS-2018-36",
                "GMS-2018-38",
                "GMS-2018-44"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d4mn-hm9u-3qbk"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@2.0.9"
}