Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45248?format=api",
    "vulnerability_id": "VCID-j66a-3fjk-9qg3",
    "summary": "Insufficient validation when decoding a Socket.IO packet\nA specially crafted Socket.IO packet can trigger an uncaught exception on the Socket.IO server, thus killing the Node.js process.\n\n```\nTypeError: Cannot convert object to primitive value\nat Socket.emit (node:events:507:25)\nat .../node_modules/socket.io/lib/socket.js:531:14\n```",
    "aliases": [
        {
            "alias": "CVE-2023-32695"
        },
        {
            "alias": "GHSA-cqmj-92xf-r6r9"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65198?format=api",
            "purl": "pkg:npm/socket.io-parser@3.3.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/socket.io-parser@3.3.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65197?format=api",
            "purl": "pkg:npm/socket.io-parser@3.4.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/socket.io-parser@3.4.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65196?format=api",
            "purl": "pkg:npm/socket.io-parser@4.2.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/socket.io-parser@4.2.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65194?format=api",
            "purl": "pkg:npm/socket.io-parser@3.4.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-j66a-3fjk-9qg3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/socket.io-parser@3.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/65195?format=api",
            "purl": "pkg:npm/socket.io-parser@4.0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-j66a-3fjk-9qg3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/socket.io-parser@4.0.4"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/socketio/socket.io-parser",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/socketio/socket.io-parser"
        },
        {
            "reference_url": "https://github.com/socketio/socket.io-parser/commit/1c220ddbf45ea4b44bc8dbf6f9ae245f672ba1b9",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/socketio/socket.io-parser/commit/1c220ddbf45ea4b44bc8dbf6f9ae245f672ba1b9"
        },
        {
            "reference_url": "https://github.com/socketio/socket.io-parser/commit/2dc3c92622dad113b8676be06f23b1ed46b02ced",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/socketio/socket.io-parser/commit/2dc3c92622dad113b8676be06f23b1ed46b02ced"
        },
        {
            "reference_url": "https://github.com/socketio/socket.io-parser/commit/3b78117bf6ba7e99d7a5cfc1ba54d0477554a7f3",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/socketio/socket.io-parser/commit/3b78117bf6ba7e99d7a5cfc1ba54d0477554a7f3"
        },
        {
            "reference_url": "https://github.com/socketio/socket.io-parser/commit/ee006607495eca4ec7262ad080dd3a91439a5ba4",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/socketio/socket.io-parser/commit/ee006607495eca4ec7262ad080dd3a91439a5ba4"
        },
        {
            "reference_url": "https://github.com/socketio/socket.io-parser/releases/tag/4.2.3",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/socketio/socket.io-parser/releases/tag/4.2.3"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32695",
            "reference_id": "CVE-2023-32695",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32695"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-cqmj-92xf-r6r9",
            "reference_id": "GHSA-cqmj-92xf-r6r9",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-cqmj-92xf-r6r9"
        },
        {
            "reference_url": "https://github.com/socketio/socket.io-parser/security/advisories/GHSA-cqmj-92xf-r6r9",
            "reference_id": "GHSA-cqmj-92xf-r6r9",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/socketio/socket.io-parser/security/advisories/GHSA-cqmj-92xf-r6r9"
        }
    ],
    "weaknesses": [
        {
            "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": 754,
            "name": "Improper Check for Unusual or Exceptional Conditions",
            "description": "The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product."
        },
        {
            "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-j66a-3fjk-9qg3"
}