Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61390?format=api",
    "purl": "pkg:nuget/System.DirectoryServices.Protocols@7.1.0",
    "type": "nuget",
    "namespace": "",
    "name": "System.DirectoryServices.Protocols",
    "version": "7.1.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "7.1.7",
    "latest_non_vulnerable_version": "7.2.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42926?format=api",
            "vulnerability_id": "VCID-xj2e-wyk5-jub6",
            "summary": "PowerShell Elevation of Privilege Vulnerability.",
            "references": [
                {
                    "reference_url": "https://github.com/PowerShell/Announcements/issues/31",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/PowerShell/Announcements/issues/31"
                },
                {
                    "reference_url": "https://github.com/PowerShell/PowerShell",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/PowerShell/PowerShell"
                },
                {
                    "reference_url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26788",
                    "reference_id": "CVE-2022-26788",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-26788"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26788",
                    "reference_id": "CVE-2022-26788",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26788"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-26788",
                    "reference_id": "CVE-2022-26788",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-26788"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-q7x5-x7rr-2859",
                    "reference_id": "GHSA-q7x5-x7rr-2859",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-q7x5-x7rr-2859"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61393?format=api",
                    "purl": "pkg:nuget/System.DirectoryServices.Protocols@7.1.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.DirectoryServices.Protocols@7.1.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61394?format=api",
                    "purl": "pkg:nuget/System.DirectoryServices.Protocols@7.2.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.DirectoryServices.Protocols@7.2.3"
                }
            ],
            "aliases": [
                "CVE-2022-26788",
                "GHSA-q7x5-x7rr-2859"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xj2e-wyk5-jub6"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.DirectoryServices.Protocols@7.1.0"
}