Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30597?format=api",
    "vulnerability_id": "VCID-swaq-fsns-xqe2",
    "summary": "Path Traversal\nnode-srv path traversal allows to read arbitrary files from remote server",
    "aliases": [
        {
            "alias": "CVE-2018-3714"
        },
        {
            "alias": "GHSA-52r9-g5g6-2hjp"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6658?format=api",
            "purl": "pkg:npm/node-srv@2.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@2.1.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218561?format=api",
            "purl": "pkg:npm/node-srv@0.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@0.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218562?format=api",
            "purl": "pkg:npm/node-srv@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218563?format=api",
            "purl": "pkg:npm/node-srv@0.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@0.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218564?format=api",
            "purl": "pkg:npm/node-srv@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218565?format=api",
            "purl": "pkg:npm/node-srv@0.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@0.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218566?format=api",
            "purl": "pkg:npm/node-srv@0.3.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@0.3.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218567?format=api",
            "purl": "pkg:npm/node-srv@0.3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@0.3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218568?format=api",
            "purl": "pkg:npm/node-srv@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218569?format=api",
            "purl": "pkg:npm/node-srv@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@1.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218570?format=api",
            "purl": "pkg:npm/node-srv@1.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@1.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218571?format=api",
            "purl": "pkg:npm/node-srv@1.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@1.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218572?format=api",
            "purl": "pkg:npm/node-srv@1.0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@1.0.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218573?format=api",
            "purl": "pkg:npm/node-srv@1.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@1.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218574?format=api",
            "purl": "pkg:npm/node-srv@1.2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@1.2.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218575?format=api",
            "purl": "pkg:npm/node-srv@1.2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@1.2.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218576?format=api",
            "purl": "pkg:npm/node-srv@1.2.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@1.2.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218577?format=api",
            "purl": "pkg:npm/node-srv@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218578?format=api",
            "purl": "pkg:npm/node-srv@2.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@2.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/218579?format=api",
            "purl": "pkg:npm/node-srv@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-swaq-fsns-xqe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-srv@2.1.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-3714",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.72599",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98788",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.72599",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98789",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-3714"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-52r9-g5g6-2hjp",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-52r9-g5g6-2hjp"
        },
        {
            "reference_url": "https://hackerone.com/reports/309124",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.6",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                },
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://hackerone.com/reports/309124"
        },
        {
            "reference_url": "https://www.npmjs.com/advisories/588",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/advisories/588"
        },
        {
            "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/383.json",
            "reference_id": "383",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.6",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/383.json"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3714",
            "reference_id": "CVE-2018-3714",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3714"
        }
    ],
    "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": "4.0 - 8.6",
    "exploitability": "0.5",
    "weighted_severity": "7.7",
    "risk_score": 3.9,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-swaq-fsns-xqe2"
}