Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53275?format=api",
    "vulnerability_id": "VCID-ywrn-mga5-uubt",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in safe-eval.",
    "aliases": [
        {
            "alias": "GHSA-9pcf-h8q9-63f6"
        },
        {
            "alias": "GMS-2020-766"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55754?format=api",
            "purl": "pkg:npm/safe-eval@0.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6ddq-agvr-zuhf"
                },
                {
                    "vulnerability": "VCID-f53c-csbx-sfd7"
                },
                {
                    "vulnerability": "VCID-jfqz-zcs9-2yby"
                },
                {
                    "vulnerability": "VCID-kng7-pxcx-vycx"
                },
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-rudx-9f5s-bygg"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/212715?format=api",
            "purl": "pkg:npm/safe-eval@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6ddq-agvr-zuhf"
                },
                {
                    "vulnerability": "VCID-f53c-csbx-sfd7"
                },
                {
                    "vulnerability": "VCID-jfqz-zcs9-2yby"
                },
                {
                    "vulnerability": "VCID-kng7-pxcx-vycx"
                },
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-rudx-9f5s-bygg"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/212716?format=api",
            "purl": "pkg:npm/safe-eval@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6ddq-agvr-zuhf"
                },
                {
                    "vulnerability": "VCID-f53c-csbx-sfd7"
                },
                {
                    "vulnerability": "VCID-jfqz-zcs9-2yby"
                },
                {
                    "vulnerability": "VCID-kng7-pxcx-vycx"
                },
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-rudx-9f5s-bygg"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55755?format=api",
            "purl": "pkg:npm/safe-eval@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6ddq-agvr-zuhf"
                },
                {
                    "vulnerability": "VCID-f53c-csbx-sfd7"
                },
                {
                    "vulnerability": "VCID-jfqz-zcs9-2yby"
                },
                {
                    "vulnerability": "VCID-kng7-pxcx-vycx"
                },
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-rudx-9f5s-bygg"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55756?format=api",
            "purl": "pkg:npm/safe-eval@0.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6ddq-agvr-zuhf"
                },
                {
                    "vulnerability": "VCID-jfqz-zcs9-2yby"
                },
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-rudx-9f5s-bygg"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64576?format=api",
            "purl": "pkg:npm/safe-eval@0.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6ddq-agvr-zuhf"
                },
                {
                    "vulnerability": "VCID-jfqz-zcs9-2yby"
                },
                {
                    "vulnerability": "VCID-pegh-rtxa-k7d6"
                },
                {
                    "vulnerability": "VCID-rudx-9f5s-bygg"
                },
                {
                    "vulnerability": "VCID-ywrn-mga5-uubt"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/safe-eval@0.4.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://www.npmjs.com/advisories/1033",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/advisories/1033"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-9pcf-h8q9-63f6",
            "reference_id": "GHSA-9pcf-h8q9-63f6",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-9pcf-h8q9-63f6"
        }
    ],
    "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ywrn-mga5-uubt"
}