Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/104?format=api",
    "purl": "pkg:nuget/Microsoft.AspNetCore.App@2.1.1",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNetCore.App",
    "version": "2.1.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.1.7",
    "latest_non_vulnerable_version": "2.2.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/8?format=api",
            "vulnerability_id": "VCID-3nh7-wm35-3kb2",
            "summary": "Microsoft Security Advisory CVE-2018-8409: ASP.NET Core Denial Of Service Vulnerability",
            "references": [
                {
                    "reference_url": "https://github.com/aspnet/Announcements/issues/316",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aspnet/Announcements/issues/316"
                },
                {
                    "reference_url": "https://github.com/dotnet/announcements/issues/83",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dotnet/announcements/issues/83"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/105223",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/105223"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8409",
                    "reference_id": "CVE-2018-8409",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8409"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8409",
                    "reference_id": "CVE-2018-8409",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8409"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-j378-6mmw-hqfr",
                    "reference_id": "GHSA-j378-6mmw-hqfr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-j378-6mmw-hqfr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/107?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.App@2.1.4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-v6vu-9ybt-tqbc"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.App@2.1.4"
                }
            ],
            "aliases": [
                "CVE-2018-8409",
                "GHSA-j378-6mmw-hqfr"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3nh7-wm35-3kb2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6?format=api",
            "vulnerability_id": "VCID-v6vu-9ybt-tqbc",
            "summary": "Microsoft Security Advisory CVE-2019-0564: ASP.NET Core Denial of Service Vulnerability",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:0040",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:0040"
                },
                {
                    "reference_url": "https://github.com/aspnet/Announcements/issues/334",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aspnet/Announcements/issues/334"
                },
                {
                    "reference_url": "https://github.com/github/advisory-database/issues/302",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/github/advisory-database/issues/302"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/106413",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/106413"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-0564",
                    "reference_id": "CVE-2019-0564",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-0564"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0564",
                    "reference_id": "CVE-2019-0564",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0564"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6px8-22w5-w334",
                    "reference_id": "GHSA-6px8-22w5-w334",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6px8-22w5-w334"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/103?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.App@2.1.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.App@2.1.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/111?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.App@2.2.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.App@2.2.1"
                }
            ],
            "aliases": [
                "CVE-2019-0564",
                "GHSA-6px8-22w5-w334"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v6vu-9ybt-tqbc"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.App@2.1.1"
}