Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/103?format=api",
    "purl": "pkg:nuget/Microsoft.AspNetCore.App@2.1.7",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNetCore.App",
    "version": "2.1.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.2.1",
    "latest_non_vulnerable_version": "2.2.1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "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"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.App@2.1.7"
}