{
  "@id": "urn:uuid:84a728f7-dba2-4349-85bf-d92ea936e665",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 8,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-12-02T19:50:00.287191+00:00",
  "statements": [
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.5.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.5.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:46:58.495584+00:00",
      "status_notes": "Vulnerability CVE-2016-10518 does not affect version 8.5.0-tuxcare.1 of ws. CVE-2016-10518 does not affect ws 8.5.0. The vulnerability pattern (uninitialized memory allocation via numeric ping() arguments) is absent because the upstream fix was shipped in the release before TuxCare's involvement. The original fix (commit 29293ed1 by Arnout Kazemier, Jan 2016) added explicit number-to-string conversion. A later upstream refactoring (commit a6e94f49 by Luigi Pinca, Mar 2019) replaced this with Buffer.from() which inherently rejects numeric inputs with a TypeError, providing equivalent protection through a different mechanism. Testing confirms Buffer.from(number) throws an error in Node.js v20, preventing memory disclosure.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2016-10518"
      },
      "impact_statement": "CVE-2016-10518 does not affect ws 8.5.0. The vulnerability pattern (uninitialized memory allocation via numeric ping() arguments) is absent because the upstream fix was shipped in the release before TuxCare's involvement. The original fix (commit 29293ed1 by Arnout Kazemier, Jan 2016) added explicit number-to-string conversion. A later upstream refactoring (commit a6e94f49 by Luigi Pinca, Mar 2019) replaced this with Buffer.from() which inherently rejects numeric inputs with a TypeError, providing equivalent protection through a different mechanism. Testing confirms Buffer.from(number) throws an error in Node.js v20, preventing memory disclosure."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.5.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.5.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:49:00.057811+00:00",
      "status_notes": "Vulnerability CVE-2016-10542 does not affect version 8.5.0-tuxcare.1 of ws. CVE-2016-10542 is NOT present in ws 8.5.0-tuxcare.2. The vulnerability (unbounded memory allocation from large websocket payloads leading to DoS) was fixed upstream in version 1.1.1 (2016) via three commits that added maxPayload size limits with a 100MB default, cumulative size tracking, and error code 1009 enforcement. All three fix commits (61de514, 0328a8f, 913afa3) are present in the upstream 8.5.0 release (2022-02-07) and were authored by upstream maintainers (dumbi_olise@yahoo.co.uk, info@3rd-Eden.com), well before TuxCare's involvement. The target code contains comprehensive defenses: default maxPayload=100MB in WebSocketServer, size validation in Receiver.haveLength() (line 394), and size checking in PerMessageDeflate decompression (line 482). The vulnerable pattern (unlimited payload buffering) is not present.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2016-10542"
      },
      "impact_statement": "CVE-2016-10542 is NOT present in ws 8.5.0-tuxcare.2. The vulnerability (unbounded memory allocation from large websocket payloads leading to DoS) was fixed upstream in version 1.1.1 (2016) via three commits that added maxPayload size limits with a 100MB default, cumulative size tracking, and error code 1009 enforcement. All three fix commits (61de514, 0328a8f, 913afa3) are present in the upstream 8.5.0 release (2022-02-07) and were authored by upstream maintainers (dumbi_olise@yahoo.co.uk, info@3rd-Eden.com), well before TuxCare's involvement. The target code contains comprehensive defenses: default maxPayload=100MB in WebSocketServer, size validation in Receiver.haveLength() (line 394), and size checking in PerMessageDeflate decompression (line 482). The vulnerable pattern (unlimited payload buffering) is not present."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.5.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.5.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-04T02:14:09.245779+00:00",
      "status_notes": "Vulnerability CVE-2021-32640 does not affect version 8.5.0-tuxcare.1 of ws. not_affected \u2014 CVE-2021-32640 (ReDoS in Sec-WebSocket-Protocol header parsing) is NOT present in ws 8.5.0. The vulnerable pattern `protocol.trim().split(/ *, */)` that caused catastrophic regex backtracking was replaced by upstream commit 1877ddeb9 (June 20, 2021) which introduced a character-by-character parser in lib/subprotocol.js. This upstream refactoring shipped in ws 8.0.0 (June 28, 2021), before TuxCa...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2021-32640"
      },
      "impact_statement": "not_affected \u2014 CVE-2021-32640 (ReDoS in Sec-WebSocket-Protocol header parsing) is NOT present in ws 8.5.0. The vulnerable pattern `protocol.trim().split(/ *, */)` that caused catastrophic regex backtracking was replaced by upstream commit 1877ddeb9 (June 20, 2021) which introduced a character-by-character parser in lib/subprotocol.js. This upstream refactoring shipped in ws 8.0.0 (June 28, 2021), before TuxCa..."
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/ws@8.5.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.5.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-09-24T09:31:26.931840+00:00",
      "status_notes": "Vulnerability CVE-2024-37890 is fixed in version 8.5.0-tuxcare.1 of ws.",
      "vulnerability": {
        "name": "CVE-2024-37890"
      }
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.5.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.5.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-01T18:22:00.166820+00:00",
      "status_notes": "Vulnerability CVE-2026-140009 affects version 8.5.0-tuxcare.1 of ws.",
      "vulnerability": {
        "name": "CVE-2026-140009"
      },
      "action_statement": "Vulnerability CVE-2026-140009 affects version 8.5.0-tuxcare.1 of ws."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.5.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.5.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-09-24T09:31:26.931840+00:00",
      "status_notes": "Vulnerability CVE-2026-45736 affects version 8.5.0-tuxcare.1 of ws, and is fixed in 8.5.0-tuxcare.2.",
      "vulnerability": {
        "name": "CVE-2026-45736"
      },
      "action_statement": "Vulnerability CVE-2026-45736 affects version 8.5.0-tuxcare.1 of ws, and is fixed in 8.5.0-tuxcare.2."
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/ws@8.5.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.5.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-09-24T09:31:26.931840+00:00",
      "status_notes": "Vulnerability CVE-2026-48779 is fixed in version 8.5.0-tuxcare.1 of ws.",
      "vulnerability": {
        "name": "CVE-2026-48779"
      }
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.5.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.5.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:50:00.287191+00:00",
      "status_notes": "Vulnerability GHSA-5v72-xg48-5rpm does not affect version 8.5.0-tuxcare.1 of ws. The target ws@8.5.0-tuxcare.2 is NOT AFFECTED by GHSA-5v72-xg48-5rpm. The vulnerability (DoS crash from Object.prototype property names in Sec-WebSocket-Extensions header) was fixed in upstream commit 993b0cd4 (April 2019) by Luigi Pinca, which replaced vulnerable `{}` object creation with `Object.create(null)` in lib/extension.js. This defense eliminates the prototype chain, making Object.prototype property names safe to use as keys. The fix was included in upstream v7.0.0 and inherited by v8.5.0 before TuxCare maintenance began. Both parsing locations (websocket-server.js:287, websocket.js:933) use the protected extension.parse() function. Tests explicitly validate handling of \"constructor\", \"hasOwnProperty\", \"toString\".",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "GHSA-5v72-xg48-5rpm"
      },
      "impact_statement": "The target ws@8.5.0-tuxcare.2 is NOT AFFECTED by GHSA-5v72-xg48-5rpm. The vulnerability (DoS crash from Object.prototype property names in Sec-WebSocket-Extensions header) was fixed in upstream commit 993b0cd4 (April 2019) by Luigi Pinca, which replaced vulnerable `{}` object creation with `Object.create(null)` in lib/extension.js. This defense eliminates the prototype chain, making Object.prototype property names safe to use as keys. The fix was included in upstream v7.0.0 and inherited by v8.5.0 before TuxCare maintenance began. Both parsing locations (websocket-server.js:287, websocket.js:933) use the protected extension.parse() function. Tests explicitly validate handling of \"constructor\", \"hasOwnProperty\", \"toString\"."
    }
  ]
}
