Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/552463?format=api",
    "purl": "pkg:npm/zip-local@0.2.0",
    "type": "npm",
    "namespace": "",
    "name": "zip-local",
    "version": "0.2.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.3.5",
    "latest_non_vulnerable_version": "0.3.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42213?format=api",
            "vulnerability_id": "VCID-zkh2-53r3-h3d4",
            "summary": "Path traversal in Zip-Local\nThe package zip-local is vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) which can lead to an extraction of a crafted file outside the intended extraction directory.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-23484",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0059",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69562",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.0059",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69607",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.0059",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69587",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.0059",
                            "scoring_system": "epss",
                            "scoring_elements": "0.696",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.0059",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69609",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.0059",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69601",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-23484"
                },
                {
                    "reference_url": "https://github.com/Mostafa-Samir/zip-local",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/Mostafa-Samir/zip-local"
                },
                {
                    "reference_url": "https://github.com/Mostafa-Samir/zip-local/blob/master/main.js%23L365",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/Mostafa-Samir/zip-local/blob/master/main.js%23L365"
                },
                {
                    "reference_url": "https://github.com/Mostafa-Samir/zip-local/commit/6bb9b59733df379ac168aa705790bd8339b4bf9b",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/Mostafa-Samir/zip-local/commit/6bb9b59733df379ac168aa705790bd8339b4bf9b"
                },
                {
                    "reference_url": "https://github.com/Mostafa-Samir/zip-local/commit/949446a95a660c0752b1db0c654f0fd619ae6085",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/Mostafa-Samir/zip-local/commit/949446a95a660c0752b1db0c654f0fd619ae6085"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JS-ZIPLOCAL-2327477",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JS-ZIPLOCAL-2327477"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23484",
                    "reference_id": "CVE-2021-23484",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23484"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-wxj7-97fp-j53j",
                    "reference_id": "GHSA-wxj7-97fp-j53j",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-wxj7-97fp-j53j"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60317?format=api",
                    "purl": "pkg:npm/zip-local@0.3.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zip-local@0.3.5"
                }
            ],
            "aliases": [
                "CVE-2021-23484",
                "GHSA-wxj7-97fp-j53j"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zkh2-53r3-h3d4"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/zip-local@0.2.0"
}