Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/54213?format=api",
    "vulnerability_id": "VCID-afhu-wkta-q3et",
    "summary": "Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')\nshescape is a simple shell escape package for JavaScript. In shescape, anyone using _Shescape_ to defend against shell injection may still be vulnerable against shell injection if the attacker manages to insert a into the payload. For an example see the referenced GitHub Security Advisory. The problem has been patched No further changes are required.",
    "aliases": [
        {
            "alias": "CVE-2021-21384"
        },
        {
            "alias": "GHSA-f2rp-38vg-j3gh"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80026?format=api",
            "purl": "pkg:npm/shescape@1.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@1.1.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295432?format=api",
            "purl": "pkg:npm/shescape@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295433?format=api",
            "purl": "pkg:npm/shescape@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295434?format=api",
            "purl": "pkg:npm/shescape@0.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@0.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295435?format=api",
            "purl": "pkg:npm/shescape@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295436?format=api",
            "purl": "pkg:npm/shescape@0.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@0.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295437?format=api",
            "purl": "pkg:npm/shescape@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@0.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295438?format=api",
            "purl": "pkg:npm/shescape@0.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@0.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295439?format=api",
            "purl": "pkg:npm/shescape@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295440?format=api",
            "purl": "pkg:npm/shescape@1.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@1.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295441?format=api",
            "purl": "pkg:npm/shescape@1.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@1.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/295442?format=api",
            "purl": "pkg:npm/shescape@1.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8tmm-r9hx-t7gh"
                },
                {
                    "vulnerability": "VCID-afhu-wkta-q3et"
                },
                {
                    "vulnerability": "VCID-cy6p-xc3p-wbe1"
                },
                {
                    "vulnerability": "VCID-emqt-chqk-wug3"
                },
                {
                    "vulnerability": "VCID-px7h-1hh9-wuhs"
                },
                {
                    "vulnerability": "VCID-wpfp-cjd5-87g2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shescape@1.1.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21384",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00165",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37269",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.00165",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37296",
                    "published_at": "2026-06-08T12:55:00Z"
                },
                {
                    "value": "0.00165",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37334",
                    "published_at": "2026-06-07T12:55:00Z"
                },
                {
                    "value": "0.00165",
                    "scoring_system": "epss",
                    "scoring_elements": "0.37366",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.00165",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3736",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21384"
        },
        {
            "reference_url": "https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ericcornelissen/shescape/commit/07a069a66423809cbedd61d980c11ca44a29ea2b"
        },
        {
            "reference_url": "https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ericcornelissen/shescape/releases/tag/v1.1.3"
        },
        {
            "reference_url": "https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/ericcornelissen/shescape/security/advisories/GHSA-f2rp-38vg-j3gh"
        },
        {
            "reference_url": "https://www.npmjs.com/package/shescape",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/package/shescape"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21384",
            "reference_id": "CVE-2021-21384",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21384"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-f2rp-38vg-j3gh",
            "reference_id": "GHSA-f2rp-38vg-j3gh",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-f2rp-38vg-j3gh"
        }
    ],
    "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": 88,
            "name": "Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')",
            "description": "The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string."
        },
        {
            "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": "6.3 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-afhu-wkta-q3et"
}