Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/39?format=api",
    "purl": "pkg:nuget/Microsoft.AspNetCore.All@2.1.13",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNetCore.All",
    "version": "2.1.13",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.1.30",
    "latest_non_vulnerable_version": "5.0.9",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5?format=api",
            "vulnerability_id": "VCID-xgtm-9d66-rugc",
            "summary": "Microsoft Security Advisory CVE-2018-8269: Denial of Service Vulnerability in OData",
            "references": [
                {
                    "reference_url": "https://github.com/aspnet/Announcements/issues/385",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/aspnet/Announcements/issues/385"
                },
                {
                    "reference_url": "https://github.com/dotnet/aspnetcore/issues/13860",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dotnet/aspnetcore/issues/13860"
                },
                {
                    "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": "https://www.exploit-db.com/exploits/46101/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/46101/"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows/dos/46101.rb",
                    "reference_id": "CVE-2018-8269",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows/dos/46101.rb"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8269",
                    "reference_id": "CVE-2018-8269",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8269"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8269",
                    "reference_id": "CVE-2018-8269",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8269"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-mv2r-q4g5-j8q5",
                    "reference_id": "GHSA-mv2r-q4g5-j8q5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-mv2r-q4g5-j8q5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/39?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.All@2.1.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@2.1.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/53?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.All@2.2.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@2.2.7"
                }
            ],
            "aliases": [
                "CVE-2018-8269",
                "GHSA-mv2r-q4g5-j8q5"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xgtm-9d66-rugc"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.All@2.1.13"
}