Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/31641?format=api",
    "purl": "pkg:nuget/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions@2.0.3",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions",
    "version": "2.0.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/9910?format=api",
            "vulnerability_id": "VCID-vyrd-u846-8kdu",
            "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": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "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": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-3m2r-q8x3-xmf7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/31641?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions@2.0.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions@2.0.3"
                }
            ],
            "aliases": [
                "GHSA-3m2r-q8x3-xmf7",
                "GMS-2018-37",
                "GMS-2018-39",
                "GMS-2018-40",
                "GMS-2018-43"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vyrd-u846-8kdu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions@2.0.3"
}