Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42926?format=api",
    "vulnerability_id": "VCID-xj2e-wyk5-jub6",
    "summary": "PowerShell Elevation of Privilege Vulnerability.",
    "aliases": [
        {
            "alias": "CVE-2022-26788"
        },
        {
            "alias": "GHSA-q7x5-x7rr-2859"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61403?format=api",
            "purl": "pkg:nuget/Microsoft.PowerShell.SDK@7.0.10",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.PowerShell.SDK@7.0.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61404?format=api",
            "purl": "pkg:nuget/Microsoft.PowerShell.SDK@7.1.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.PowerShell.SDK@7.1.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61405?format=api",
            "purl": "pkg:nuget/Microsoft.PowerShell.SDK@7.2.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.PowerShell.SDK@7.2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61395?format=api",
            "purl": "pkg:nuget/PowerShell@7.0.10",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.0.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61396?format=api",
            "purl": "pkg:nuget/PowerShell@7.1.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.1.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61397?format=api",
            "purl": "pkg:nuget/PowerShell@7.2.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61392?format=api",
            "purl": "pkg:nuget/System.DirectoryServices.Protocols@7.0.10",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.DirectoryServices.Protocols@7.0.10"
        },
        {
            "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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61400?format=api",
            "purl": "pkg:nuget/Microsoft.PowerShell.SDK@7.0.0-preview.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xj2e-wyk5-jub6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.PowerShell.SDK@7.0.0-preview.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61401?format=api",
            "purl": "pkg:nuget/Microsoft.PowerShell.SDK@7.1.0-preview.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xj2e-wyk5-jub6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.PowerShell.SDK@7.1.0-preview.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61402?format=api",
            "purl": "pkg:nuget/Microsoft.PowerShell.SDK@7.2.0-preview.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xj2e-wyk5-jub6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Microsoft.PowerShell.SDK@7.2.0-preview.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59840?format=api",
            "purl": "pkg:nuget/PowerShell@7.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5fcr-6vvj-63ds"
                },
                {
                    "vulnerability": "VCID-5g81-47aw-cufw"
                },
                {
                    "vulnerability": "VCID-knv1-ccs2-z3h9"
                },
                {
                    "vulnerability": "VCID-xj2e-wyk5-jub6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60918?format=api",
            "purl": "pkg:nuget/PowerShell@7.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5g81-47aw-cufw"
                },
                {
                    "vulnerability": "VCID-xj2e-wyk5-jub6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60919?format=api",
            "purl": "pkg:nuget/PowerShell@7.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5g81-47aw-cufw"
                },
                {
                    "vulnerability": "VCID-dt17-ty9w-3fhm"
                },
                {
                    "vulnerability": "VCID-knv1-ccs2-z3h9"
                },
                {
                    "vulnerability": "VCID-xj2e-wyk5-jub6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61389?format=api",
            "purl": "pkg:nuget/System.DirectoryServices.Protocols@7.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xj2e-wyk5-jub6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.DirectoryServices.Protocols@7.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61390?format=api",
            "purl": "pkg:nuget/System.DirectoryServices.Protocols@7.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xj2e-wyk5-jub6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.DirectoryServices.Protocols@7.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61391?format=api",
            "purl": "pkg:nuget/System.DirectoryServices.Protocols@7.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-xj2e-wyk5-jub6"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/System.DirectoryServices.Protocols@7.2.0"
        }
    ],
    "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"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xj2e-wyk5-jub6"
}