Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40563?format=api",
    "vulnerability_id": "VCID-r83h-uj95-zugy",
    "summary": "Cross-Site Request Forgery (CSRF)\nreact-dev-utils on Windows allows developers to run a local webserver for accepting various commands, including a command to launch an editor. The input to that command was not properly sanitized, allowing an attacker who can make a network request to the server (either via CSRF or by direct request) to execute arbitrary commands on the targeted system.",
    "aliases": [
        {
            "alias": "CVE-2018-6342"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57254?format=api",
            "purl": "pkg:npm/react-dev-utils@1.0.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@1.0.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57255?format=api",
            "purl": "pkg:npm/react-dev-utils@2.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@2.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57256?format=api",
            "purl": "pkg:npm/react-dev-utils@3.1.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@3.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57257?format=api",
            "purl": "pkg:npm/react-dev-utils@4.2.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@4.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57258?format=api",
            "purl": "pkg:npm/react-dev-utils@5.0.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@5.0.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57249?format=api",
            "purl": "pkg:npm/react-dev-utils@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r83h-uj95-zugy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57250?format=api",
            "purl": "pkg:npm/react-dev-utils@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r83h-uj95-zugy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57251?format=api",
            "purl": "pkg:npm/react-dev-utils@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r83h-uj95-zugy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57252?format=api",
            "purl": "pkg:npm/react-dev-utils@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r83h-uj95-zugy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57253?format=api",
            "purl": "pkg:npm/react-dev-utils@5.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r83h-uj95-zugy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@5.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6342",
            "reference_id": "CVE-2018-6342",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6342"
        }
    ],
    "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r83h-uj95-zugy"
}