Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58819?format=api",
    "purl": "pkg:nuget/PowerShell@7.0.0",
    "type": "nuget",
    "namespace": "",
    "name": "PowerShell",
    "version": "7.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "7.0.9",
    "latest_non_vulnerable_version": "7.3.10",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/14487?format=api",
            "vulnerability_id": "VCID-2zmu-938a-83em",
            "summary": "Authentication Bypass by Spoofing\nMicrosoft PowerShell Spoofing Vulnerability",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43896",
                    "reference_id": "CVE-2021-43896",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43896"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-43896",
                    "reference_id": "CVE-2021-43896",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-43896"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58820?format=api",
                    "purl": "pkg:nuget/PowerShell@7.2.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.2.1"
                }
            ],
            "aliases": [
                "CVE-2021-43896"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2zmu-938a-83em"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15851?format=api",
            "vulnerability_id": "VCID-5djb-fjwx-kudc",
            "summary": "Uncontrolled Resource Consumption\n.NET, Visual Studio and PowerShell Denial of Service Vulnerability. This CVE ID is unique from CVE-2022-29117, CVE-2022-29145.",
            "references": [
                {
                    "reference_url": "https://github.com/PowerShell/Announcements/issues/32",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/PowerShell/Announcements/issues/32"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23267",
                    "reference_id": "CVE-2022-23267",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-23267"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-23267",
                    "reference_id": "CVE-2022-23267",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-23267"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2022-23267"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5djb-fjwx-kudc"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15531?format=api",
            "vulnerability_id": "VCID-6hkw-6113-cqgk",
            "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/60364?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/60365?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/60366?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"
                }
            ],
            "aliases": [
                "CVE-2022-26788",
                "GHSA-q7x5-x7rr-2859"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6hkw-6113-cqgk"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15209?format=api",
            "vulnerability_id": "VCID-c23g-vu8z-3ycc",
            "summary": "This advisory has been marked as False-Positive and removed.",
            "references": [
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4TOGTZ2ZWDH662ZNFFSZVL3M5AJXV6JF/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4TOGTZ2ZWDH662ZNFFSZVL3M5AJXV6JF/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CIJGCVKLHVNLFBTEYJGWS43QG5DYJFBL/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CIJGCVKLHVNLFBTEYJGWS43QG5DYJFBL/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQLM7ABVCYJLF6JRPF3M3EBXW63GNC27/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MQLM7ABVCYJLF6JRPF3M3EBXW63GNC27/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRGSPXMZY4RM2L35FYHCXBFROLC23B2V/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRGSPXMZY4RM2L35FYHCXBFROLC23B2V/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OS2Q4NPRSARP7GHLKFLIYHFOPSYDO6MK/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OS2Q4NPRSARP7GHLKFLIYHFOPSYDO6MK/"
                },
                {
                    "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZXEQ3GQVELA2T4HNZG7VPMS2HDVXMJRG/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZXEQ3GQVELA2T4HNZG7VPMS2HDVXMJRG/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24512",
                    "reference_id": "CVE-2022-24512",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24512"
                },
                {
                    "reference_url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-24512",
                    "reference_id": "CVE-2022-24512",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2022-24512"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59889?format=api",
                    "purl": "pkg:nuget/PowerShell@7.0.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.0.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59890?format=api",
                    "purl": "pkg:nuget/PowerShell@7.1.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.1.6"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/59891?format=api",
                    "purl": "pkg:nuget/PowerShell@7.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.2.2"
                }
            ],
            "aliases": [
                "CVE-2022-24512"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c23g-vu8z-3ycc"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/19352?format=api",
            "vulnerability_id": "VCID-xbv9-wsyx-xudq",
            "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in PowerShell.",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-jcmq-5rrv-j2g4",
                    "reference_id": "GHSA-jcmq-5rrv-j2g4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-jcmq-5rrv-j2g4"
                },
                {
                    "reference_url": "https://github.com/PowerShell/PowerShell/security/advisories/GHSA-jcmq-5rrv-j2g4",
                    "reference_id": "GHSA-jcmq-5rrv-j2g4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/PowerShell/PowerShell/security/advisories/GHSA-jcmq-5rrv-j2g4"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58819?format=api",
                    "purl": "pkg:nuget/PowerShell@7.0.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2zmu-938a-83em"
                        },
                        {
                            "vulnerability": "VCID-5djb-fjwx-kudc"
                        },
                        {
                            "vulnerability": "VCID-6hkw-6113-cqgk"
                        },
                        {
                            "vulnerability": "VCID-c23g-vu8z-3ycc"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.0.0"
                }
            ],
            "aliases": [
                "GHSA-jcmq-5rrv-j2g4",
                "GMS-2024-88"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xbv9-wsyx-xudq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.0.0"
}