Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/60919?format=api",
    "purl": "pkg:nuget/PowerShell@7.2.0",
    "type": "nuget",
    "namespace": "",
    "name": "PowerShell",
    "version": "7.2.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "7.2.1",
    "latest_non_vulnerable_version": "7.3.10",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42602?format=api",
            "vulnerability_id": "VCID-5g81-47aw-cufw",
            "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/60922?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-5g81-47aw-cufw"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46451?format=api",
            "vulnerability_id": "VCID-dt17-ty9w-3fhm",
            "summary": "Exposure of Resource to Wrong Sphere\nPowerShell Information Disclosure Vulnerability",
            "references": [
                {
                    "reference_url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36013",
                    "reference_id": "CVE-2023-36013",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36013"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36013",
                    "reference_id": "CVE-2023-36013",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-36013"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67819?format=api",
                    "purl": "pkg:nuget/PowerShell@7.2.17",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.2.17"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67820?format=api",
                    "purl": "pkg:nuget/PowerShell@7.3.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.3.10"
                }
            ],
            "aliases": [
                "CVE-2023-36013"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dt17-ty9w-3fhm"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43305?format=api",
            "vulnerability_id": "VCID-knv1-ccs2-z3h9",
            "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-knv1-ccs2-z3h9"
        },
        {
            "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/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"
                }
            ],
            "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/PowerShell@7.2.0"
}