Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/690663?format=api",
    "purl": "pkg:nuget/PowerShell@1.0.0",
    "type": "nuget",
    "namespace": "",
    "name": "PowerShell",
    "version": "1.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "7.1.7",
    "latest_non_vulnerable_version": "7.3.10",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/211674?format=api",
            "vulnerability_id": "VCID-p7vx-u18u-cugc",
            "summary": "PowerShell is subject to remote code execution vulnerability",
            "references": [
                {
                    "reference_url": "https://github.com/advisories/GHSA-jcmq-5rrv-j2g4",
                    "reference_id": "GHSA-jcmq-5rrv-j2g4",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "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": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PowerShell/PowerShell/security/advisories/GHSA-jcmq-5rrv-j2g4"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/28693?format=api",
                    "purl": "pkg:nuget/PowerShell@7.0.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2yzf-b2jb-guac"
                        },
                        {
                            "vulnerability": "VCID-apuv-sxr1-6kfx"
                        },
                        {
                            "vulnerability": "VCID-dj3u-sw23-gqgs"
                        },
                        {
                            "vulnerability": "VCID-h6ke-vnzv-nybc"
                        },
                        {
                            "vulnerability": "VCID-m1qh-vuaw-8kf5"
                        },
                        {
                            "vulnerability": "VCID-nt2y-sk9b-t3gm"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@7.0.0"
                }
            ],
            "aliases": [
                "GHSA-jcmq-5rrv-j2g4",
                "GMS-2024-88"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-p7vx-u18u-cugc"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/PowerShell@1.0.0"
}