Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/13362?format=api",
    "vulnerability_id": "VCID-37mw-j411-a3az",
    "summary": "Improper Input Validation\nws is a \"simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455\". By sending an overly long websocket payload to a `ws` server, it is possible to crash the node process. This affects ws 1.1.0 and earlier.",
    "aliases": [
        {
            "alias": "CVE-2016-10542"
        },
        {
            "alias": "GHSA-6663-c963-2gqg"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/51723?format=api",
            "purl": "pkg:npm/ws@1.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ws@1.1.1"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10542",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.66075",
                    "scoring_system": "epss",
                    "scoring_elements": "0.98537",
                    "published_at": "2026-05-30T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10542"
        },
        {
            "reference_url": "https://github.com/nodejs/node/issues/7388",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/nodejs/node/issues/7388"
        },
        {
            "reference_url": "https://nodesecurity.io/advisories/120",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://nodesecurity.io/advisories/120"
        },
        {
            "reference_url": "https://www.npmjs.com/advisories/120",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.npmjs.com/advisories/120"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10542",
            "reference_id": "CVE-2016-10542",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10542"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6663-c963-2gqg",
            "reference_id": "GHSA-6663-c963-2gqg",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-6663-c963-2gqg"
        }
    ],
    "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": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "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": 400,
            "name": "Uncontrolled Resource Consumption",
            "description": "The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-37mw-j411-a3az"
}