Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30618?format=api",
    "vulnerability_id": "VCID-nhjt-dagx-2fdt",
    "summary": "Command Injection - Generic\nCommand Injection is ps Package",
    "aliases": [
        {
            "alias": "CVE-2018-16460"
        },
        {
            "alias": "GHSA-cfhg-9x44-78h2"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/6683?format=api",
            "purl": "pkg:npm/ps@1.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@1.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224522?format=api",
            "purl": "pkg:npm/ps@0.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nhjt-dagx-2fdt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@0.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224523?format=api",
            "purl": "pkg:npm/ps@0.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nhjt-dagx-2fdt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@0.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224524?format=api",
            "purl": "pkg:npm/ps@0.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nhjt-dagx-2fdt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@0.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224525?format=api",
            "purl": "pkg:npm/ps@1.0.0-0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nhjt-dagx-2fdt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@1.0.0-0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224526?format=api",
            "purl": "pkg:npm/ps@1.0.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nhjt-dagx-2fdt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@1.0.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224527?format=api",
            "purl": "pkg:npm/ps@1.0.0-2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nhjt-dagx-2fdt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@1.0.0-2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224528?format=api",
            "purl": "pkg:npm/ps@1.0.0-3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nhjt-dagx-2fdt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@1.0.0-3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224529?format=api",
            "purl": "pkg:npm/ps@1.0.0-4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nhjt-dagx-2fdt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@1.0.0-4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224530?format=api",
            "purl": "pkg:npm/ps@1.0.0-5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nhjt-dagx-2fdt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@1.0.0-5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/224531?format=api",
            "purl": "pkg:npm/ps@1.0.0-6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nhjt-dagx-2fdt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ps@1.0.0-6"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16460",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.03492",
                    "scoring_system": "epss",
                    "scoring_elements": "0.87808",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.03492",
                    "scoring_system": "epss",
                    "scoring_elements": "0.87833",
                    "published_at": "2026-06-08T12:55:00Z"
                },
                {
                    "value": "0.03492",
                    "scoring_system": "epss",
                    "scoring_elements": "0.87832",
                    "published_at": "2026-06-07T12:55:00Z"
                },
                {
                    "value": "0.03492",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8783",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16460"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-cfhg-9x44-78h2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-cfhg-9x44-78h2"
        },
        {
            "reference_url": "https://github.com/nodejs/security-wg/blob/master/vuln/npm/470.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/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/nodejs/security-wg/blob/master/vuln/npm/470.json"
        },
        {
            "reference_url": "https://hackerone.com/reports/390848",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                },
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/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://hackerone.com/reports/390848"
        },
        {
            "reference_url": "https://www.npmjs.com/advisories/728",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/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://www.npmjs.com/advisories/728"
        },
        {
            "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/470.json",
            "reference_id": "470",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/470.json"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16460",
            "reference_id": "CVE-2018-16460",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/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-2018-16460"
        }
    ],
    "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": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        },
        {
            "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."
        },
        {
            "cwe_id": 77,
            "name": "Improper Neutralization of Special Elements used in a Command ('Command Injection')",
            "description": "The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.8 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nhjt-dagx-2fdt"
}