Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/68430?format=api",
    "purl": "pkg:npm/vite@5.0.13",
    "type": "npm",
    "namespace": "",
    "name": "vite",
    "version": "5.0.13",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.1.8",
    "latest_non_vulnerable_version": "7.1.11",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/19803?format=api",
            "vulnerability_id": "VCID-xbcf-jm6w-vyeu",
            "summary": "Vite's `server.fs.deny` did not deny requests for patterns with directories.\n[Vite dev server option](https://vitejs.dev/config/server-options.html#server-fs-deny) `server.fs.deny` did not deny requests for patterns with directories. An example of such a pattern is `/foo/**/*`.",
            "references": [
                {
                    "reference_url": "https://github.com/vitejs/vite",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/vitejs/vite"
                },
                {
                    "reference_url": "https://github.com/vitejs/vite/commit/011bbca350e447d1b499d242804ce62738c12bc0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/vitejs/vite/commit/011bbca350e447d1b499d242804ce62738c12bc0"
                },
                {
                    "reference_url": "https://github.com/vitejs/vite/commit/5a056dd2fc80dbafed033062fe6aaf4717309f48",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/vitejs/vite/commit/5a056dd2fc80dbafed033062fe6aaf4717309f48"
                },
                {
                    "reference_url": "https://github.com/vitejs/vite/commit/89c7c645f09d16a38f146ef4a1528f218e844d67",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/vitejs/vite/commit/89c7c645f09d16a38f146ef4a1528f218e844d67"
                },
                {
                    "reference_url": "https://github.com/vitejs/vite/commit/96a7f3a41ef2f9351c46f3ab12489bb4efa03cc9",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/vitejs/vite/commit/96a7f3a41ef2f9351c46f3ab12489bb4efa03cc9"
                },
                {
                    "reference_url": "https://github.com/vitejs/vite/commit/ba5269cca81de3f5fbb0f49d58a1c55688043258",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/vitejs/vite/commit/ba5269cca81de3f5fbb0f49d58a1c55688043258"
                },
                {
                    "reference_url": "https://github.com/vitejs/vite/commit/d2db33f7d4b96750b35370c70dd2c35ec3b9b649",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/vitejs/vite/commit/d2db33f7d4b96750b35370c70dd2c35ec3b9b649"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8jhw-289h-jh2g",
                    "reference_id": "GHSA-8jhw-289h-jh2g",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-8jhw-289h-jh2g"
                },
                {
                    "reference_url": "https://github.com/vitejs/vite/security/advisories/GHSA-8jhw-289h-jh2g",
                    "reference_id": "GHSA-8jhw-289h-jh2g",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/vitejs/vite/security/advisories/GHSA-8jhw-289h-jh2g"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68427?format=api",
                    "purl": "pkg:npm/vite@2.9.18",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-qt19-799f-1ue5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@2.9.18"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68428?format=api",
                    "purl": "pkg:npm/vite@3.2.10",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-mfry-5z57-n7ad"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@3.2.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68429?format=api",
                    "purl": "pkg:npm/vite@4.5.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-mfry-5z57-n7ad"
                        },
                        {
                            "vulnerability": "VCID-qt19-799f-1ue5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@4.5.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68430?format=api",
                    "purl": "pkg:npm/vite@5.0.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.0.13"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68431?format=api",
                    "purl": "pkg:npm/vite@5.1.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-mfry-5z57-n7ad"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.1.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68432?format=api",
                    "purl": "pkg:npm/vite@5.2.6",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-qt19-799f-1ue5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.2.6"
                }
            ],
            "aliases": [
                "GHSA-8jhw-289h-jh2g"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xbcf-jm6w-vyeu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/vite@5.0.13"
}