Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/98?format=api",
    "purl": "pkg:nuget/Microsoft.NETCore.App@2.1.5",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.NETCore.App",
    "version": "2.1.5",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.1.8",
    "latest_non_vulnerable_version": "2.2.2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/12?format=api",
            "vulnerability_id": "VCID-tqnz-1977-83ab",
            "summary": "Microsoft Security Advisory CVE-2019-0657: .NET Core Domain Spoofing Vulnerability",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:0349",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:0349"
                },
                {
                    "reference_url": "https://github.com/dotnet/announcements/issues/97",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dotnet/announcements/issues/97"
                },
                {
                    "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/106890",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/106890"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-0657",
                    "reference_id": "CVE-2019-0657",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-0657"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0657",
                    "reference_id": "CVE-2019-0657",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0657"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-x5qj-9vmx-7g6g",
                    "reference_id": "GHSA-x5qj-9vmx-7g6g",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-x5qj-9vmx-7g6g"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/270?format=api",
                    "purl": "pkg:nuget/Microsoft.NETCore.App@2.1.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.NETCore.App@2.1.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/271?format=api",
                    "purl": "pkg:nuget/Microsoft.NETCore.App@2.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.NETCore.App@2.2.2"
                }
            ],
            "aliases": [
                "CVE-2019-0657",
                "GHSA-x5qj-9vmx-7g6g"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tqnz-1977-83ab"
        },
        {
            "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/93?format=api",
                    "purl": "pkg:nuget/Microsoft.NETCore.App@2.1.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-tqnz-1977-83ab"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.NETCore.App@2.1.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/101?format=api",
                    "purl": "pkg:nuget/Microsoft.NETCore.App@2.2.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-tqnz-1977-83ab"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.NETCore.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.NETCore.App@2.1.5"
}