Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/32700?format=api",
    "vulnerability_id": "VCID-w573-jvp9-3bcq",
    "summary": "Prototype Pollution in lodash.defaultsdeep\nVersions of `lodash.defaultsdeep` before 4.6.1 are vulnerable to Prototype Pollution. The function 'defaultsDeep' may allow a malicious user to modify the prototype of `Object` via `__proto__` causing the addition or modification of an existing property that will exist on all objects.\n\n\n\n\n## Recommendation\n\nUpdate to version 4.6.1 or later.",
    "aliases": [
        {
            "alias": "GHSA-46fh-8fc5-xcwx"
        },
        {
            "alias": "GMS-2020-350"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/37277?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.6.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.6.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191069?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@3.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@3.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191070?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191071?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191072?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191073?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191074?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.0.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191075?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191076?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191077?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191078?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191079?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191080?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.3.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.3.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191081?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.3.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.3.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191082?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.3.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191083?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.3.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.3.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191084?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191085?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.5.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191086?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/191087?format=api",
            "purl": "pkg:npm/lodash.defaultsdeep@4.6.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-63cg-xat6-h7fd"
                },
                {
                    "vulnerability": "VCID-dzeb-zu9x-g3bq"
                },
                {
                    "vulnerability": "VCID-w573-jvp9-3bcq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/lodash.defaultsdeep@4.6.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://www.npmjs.com/advisories/1070",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/advisories/1070"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-46fh-8fc5-xcwx",
            "reference_id": "GHSA-46fh-8fc5-xcwx",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-46fh-8fc5-xcwx"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1321,
            "name": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')",
            "description": "The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype."
        },
        {
            "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": 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-w573-jvp9-3bcq"
}