Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/205641?format=api",
    "vulnerability_id": "VCID-sv9y-3mh5-ebdc",
    "summary": "Duplicate Advisory: Command Injection in node-rules",
    "aliases": [
        {
            "alias": "GHSA-8whr-v3gm-w8h9"
        },
        {
            "alias": "GMS-2020-753"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/17310?format=api",
            "purl": "pkg:npm/node-rules@5.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@5.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468389?format=api",
            "purl": "pkg:npm/node-rules@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468390?format=api",
            "purl": "pkg:npm/node-rules@1.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@1.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468391?format=api",
            "purl": "pkg:npm/node-rules@1.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@1.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468392?format=api",
            "purl": "pkg:npm/node-rules@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468393?format=api",
            "purl": "pkg:npm/node-rules@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@2.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468394?format=api",
            "purl": "pkg:npm/node-rules@2.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@2.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468395?format=api",
            "purl": "pkg:npm/node-rules@2.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@2.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468396?format=api",
            "purl": "pkg:npm/node-rules@2.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@2.2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/18308?format=api",
            "purl": "pkg:npm/node-rules@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jw86-eehh-ufhg"
                },
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468397?format=api",
            "purl": "pkg:npm/node-rules@3.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jw86-eehh-ufhg"
                },
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@3.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468398?format=api",
            "purl": "pkg:npm/node-rules@3.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jw86-eehh-ufhg"
                },
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@3.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468399?format=api",
            "purl": "pkg:npm/node-rules@3.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jw86-eehh-ufhg"
                },
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@3.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468400?format=api",
            "purl": "pkg:npm/node-rules@3.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jw86-eehh-ufhg"
                },
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@3.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468401?format=api",
            "purl": "pkg:npm/node-rules@3.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jw86-eehh-ufhg"
                },
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@3.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468402?format=api",
            "purl": "pkg:npm/node-rules@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jw86-eehh-ufhg"
                },
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468403?format=api",
            "purl": "pkg:npm/node-rules@4.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jw86-eehh-ufhg"
                },
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@4.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/468404?format=api",
            "purl": "pkg:npm/node-rules@4.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jw86-eehh-ufhg"
                },
                {
                    "vulnerability": "VCID-sv9y-3mh5-ebdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-rules@4.0.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/mithunsatheesh/node-rules",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mithunsatheesh/node-rules"
        },
        {
            "reference_url": "https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mithunsatheesh/node-rules/commit/100862223904bb6478fcc33b701c7dee11f7b832"
        },
        {
            "reference_url": "https://github.com/mithunsatheesh/node-rules/issues/84",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mithunsatheesh/node-rules/issues/84"
        },
        {
            "reference_url": "https://snyk.io/vuln/SNYK-JS-NODERULES-560426",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://snyk.io/vuln/SNYK-JS-NODERULES-560426"
        },
        {
            "reference_url": "https://www.npmjs.com/advisories/1499",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.npmjs.com/advisories/1499"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-8whr-v3gm-w8h9",
            "reference_id": "GHSA-8whr-v3gm-w8h9",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-8whr-v3gm-w8h9"
        }
    ],
    "weaknesses": [
        {
            "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": 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."
        }
    ],
    "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-sv9y-3mh5-ebdc"
}