Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/68951?format=api",
    "purl": "pkg:nuget/Microsoft.AspNetCore.App.Runtime.osx-arm64@8.0.2",
    "type": "nuget",
    "namespace": "",
    "name": "Microsoft.AspNetCore.App.Runtime.osx-arm64",
    "version": "8.0.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "8.0.21",
    "latest_non_vulnerable_version": "10.0.4",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47005?format=api",
            "vulnerability_id": "VCID-as33-d56d-fqek",
            "summary": "Microsoft Security Advisory CVE-2024-21386: .NET Denial of Service Vulnerability\nMicrosoft is releasing this security advisory to provide information about a vulnerability in ASP.NET 6.0, ASP.NET 7.0 and, ASP.NET 8.0 . This advisory also provides guidance on what developers can do to update their applications to address this vulnerability.\n\nA vulnerability exists in ASP.NET applications using SignalR where a malicious client can result in a denial-of-service.",
            "references": [
                {
                    "reference_url": "https://github.com/dotnet/aspnetcore",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dotnet/aspnetcore"
                },
                {
                    "reference_url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21386",
                    "reference_id": "CVE-2024-21386",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21386"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21386",
                    "reference_id": "CVE-2024-21386",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21386"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g74q-5xw3-j7q9",
                    "reference_id": "GHSA-g74q-5xw3-j7q9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-g74q-5xw3-j7q9"
                },
                {
                    "reference_url": "https://github.com/dotnet/aspnetcore/security/advisories/GHSA-g74q-5xw3-j7q9",
                    "reference_id": "GHSA-g74q-5xw3-j7q9",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/dotnet/aspnetcore/security/advisories/GHSA-g74q-5xw3-j7q9"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68949?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.App.Runtime.osx-arm64@6.0.27",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.App.Runtime.osx-arm64@6.0.27"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68950?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.App.Runtime.osx-arm64@7.0.16",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.App.Runtime.osx-arm64@7.0.16"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68951?format=api",
                    "purl": "pkg:nuget/Microsoft.AspNetCore.App.Runtime.osx-arm64@8.0.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.App.Runtime.osx-arm64@8.0.2"
                }
            ],
            "aliases": [
                "CVE-2024-21386",
                "GHSA-g74q-5xw3-j7q9"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-as33-d56d-fqek"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.AspNetCore.App.Runtime.osx-arm64@8.0.2"
}