Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52814?format=api",
    "vulnerability_id": "VCID-9n68-ydu5-gkb9",
    "summary": "Path Traversal\nThis affects all versions of package rollup-plugin-serve. There is no path sanitization in `readFile` operation.",
    "aliases": [
        {
            "alias": "CVE-2020-7684"
        },
        {
            "alias": "GHSA-4j46-mp85-mv8c"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/142807?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@1.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@1.0.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77713?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261204?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261205?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261206?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261207?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261208?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261209?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261210?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.4.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.4.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261211?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261212?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.6.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261213?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@0.6.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@0.6.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261214?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261215?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/261216?format=api",
            "purl": "pkg:npm/rollup-plugin-serve@2.0.0-beta.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9n68-ydu5-gkb9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/rollup-plugin-serve@2.0.0-beta.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7684",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00569",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68962",
                    "published_at": "2026-06-08T12:55:00Z"
                },
                {
                    "value": "0.00569",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68981",
                    "published_at": "2026-06-09T12:55:00Z"
                },
                {
                    "value": "0.00569",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68985",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.00569",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68976",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.00569",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68936",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.00569",
                    "scoring_system": "epss",
                    "scoring_elements": "0.68978",
                    "published_at": "2026-06-07T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7684"
        },
        {
            "reference_url": "https://github.com/thgh/rollup-plugin-serve/commit/3d144f2f47e86fcba34f5a144968da94220e3969",
            "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/thgh/rollup-plugin-serve/commit/3d144f2f47e86fcba34f5a144968da94220e3969"
        },
        {
            "reference_url": "https://github.com/thgh/rollup-plugin-serve/releases/tag/v1.0.2",
            "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/thgh/rollup-plugin-serve/releases/tag/v1.0.2"
        },
        {
            "reference_url": "https://vuldb.com/?id.158745",
            "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://vuldb.com/?id.158745"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7684",
            "reference_id": "CVE-2020-7684",
            "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-2020-7684"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-4j46-mp85-mv8c",
            "reference_id": "GHSA-4j46-mp85-mv8c",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-4j46-mp85-mv8c"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9n68-ydu5-gkb9"
}