{
  "@id": "urn:uuid:0deb7c77-14b9-4c73-be7a-4c2b9e180ce9",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 9,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-12-02T19:54:12.411424+00:00",
  "statements": [
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:06:50.062639+00:00",
      "status_notes": "Vulnerability CVE-2016-10518 does not affect version 8.18.0-tuxcare.1 of ws. CVE-2016-10518 is NOT present in ws 8.18.0-tuxcare.2. The vulnerability allowed remote memory disclosure when numeric values were passed to ping()/pong() methods, as numbers would allocate uninitialized buffers. The upstream fix converts numbers to strings before buffer creation. This fix (commit 45d5c389 by Luigi Pinca) was already present in the upstream release that TuxCare onboarded, predating all TuxCare commits. The fix is located in lib/websocket.js at lines 379 (ping), 411 (pong), and 464 (send), where `if (typeof data === 'number') data = data.toString();` prevents the vulnerability.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2016-10518"
      },
      "impact_statement": "CVE-2016-10518 is NOT present in ws 8.18.0-tuxcare.2. The vulnerability allowed remote memory disclosure when numeric values were passed to ping()/pong() methods, as numbers would allocate uninitialized buffers. The upstream fix converts numbers to strings before buffer creation. This fix (commit 45d5c389 by Luigi Pinca) was already present in the upstream release that TuxCare onboarded, predating all TuxCare commits. The fix is located in lib/websocket.js at lines 379 (ping), 411 (pong), and 464 (send), where `if (typeof data === 'number') data = data.toString();` prevents the vulnerability."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:12:00.051372+00:00",
      "status_notes": "Vulnerability CVE-2016-10542 does not affect version 8.18.0-tuxcare.1 of ws. CVE-2016-10542 affects ws versions before 1.1.1 due to unbounded WebSocket payload handling. The target version 8.18.0 includes the upstream fix that was introduced in ws 1.1.0/1.1.1 (commits 61de5146 and 0328a8f). The maxPayload defense mechanism is fully implemented: WebSocketServer defaults to 100MB limit, Receiver validates payload sizes and rejects oversized messages with error code 1009 before memory allocation. Both fix commits were authored by upstream contributors and shipped in the upstream release before TuxCare onboarding.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2016-10542"
      },
      "impact_statement": "CVE-2016-10542 affects ws versions before 1.1.1 due to unbounded WebSocket payload handling. The target version 8.18.0 includes the upstream fix that was introduced in ws 1.1.0/1.1.1 (commits 61de5146 and 0328a8f). The maxPayload defense mechanism is fully implemented: WebSocketServer defaults to 100MB limit, Receiver validates payload sizes and rejects oversized messages with error code 1009 before memory allocation. Both fix commits were authored by upstream contributors and shipped in the upstream release before TuxCare onboarding."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-04T02:06:04.865077+00:00",
      "status_notes": "Vulnerability CVE-2021-32640 does not affect version 8.18.0-tuxcare.1 of ws. not_affected \u2014 CVE-2021-32640 (ReDoS vulnerability in Sec-WebSocket-Protocol header parsing) does NOT affect ws version 8.18.0. The vulnerable regex pattern `protocol.trim().split(/ *, */)` was eliminated in upstream ws 8.0.0 (commit 1877ddeb, June 2021) when protocol parsing was refactored to use a dedicated character-by-character parser in lib/subprotocol.js. This architectural change, authored by upstream ...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2021-32640"
      },
      "impact_statement": "not_affected \u2014 CVE-2021-32640 (ReDoS vulnerability in Sec-WebSocket-Protocol header parsing) does NOT affect ws version 8.18.0. The vulnerable regex pattern `protocol.trim().split(/ *, */)` was eliminated in upstream ws 8.0.0 (commit 1877ddeb, June 2021) when protocol parsing was refactored to use a dedicated character-by-character parser in lib/subprotocol.js. This architectural change, authored by upstream ..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:54:12.411424+00:00",
      "status_notes": "Vulnerability CVE-2024-37890 does not affect version 8.18.0-tuxcare.1 of ws. The target ws@8.18.0-tuxcare.2 is not affected by CVE-2024-37890. The vulnerability (server crash when accessing undefined header values after exceeding maxHeadersCount) was fixed in upstream commit e55e5106f10fcbaac37cfa89759e4cc0d073a52c by Luigi Pinca, which shipped in upstream release 8.17.1. Since 8.18.0 is newer than 8.17.1, the fix was already present in the upstream release before TuxCare onboarded it. Both vulnerable code locations (lib/websocket-server.js:253 and lib/websocket.js:946) now check for undefined before calling .toLowerCase(), preventing the crash.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2024-37890"
      },
      "impact_statement": "The target ws@8.18.0-tuxcare.2 is not affected by CVE-2024-37890. The vulnerability (server crash when accessing undefined header values after exceeding maxHeadersCount) was fixed in upstream commit e55e5106f10fcbaac37cfa89759e4cc0d073a52c by Luigi Pinca, which shipped in upstream release 8.17.1. Since 8.18.0 is newer than 8.17.1, the fix was already present in the upstream release before TuxCare onboarded it. Both vulnerable code locations (lib/websocket-server.js:253 and lib/websocket.js:946) now check for undefined before calling .toLowerCase(), preventing the crash."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-01T18:22:00.166820+00:00",
      "status_notes": "Vulnerability CVE-2026-140009 affects version 8.18.0-tuxcare.1 of ws.",
      "vulnerability": {
        "name": "CVE-2026-140009"
      },
      "action_statement": "Vulnerability CVE-2026-140009 affects version 8.18.0-tuxcare.1 of ws."
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-09-24T09:31:26.931840+00:00",
      "status_notes": "Vulnerability CVE-2026-45736 is fixed in version 8.18.0-tuxcare.1 of ws.",
      "vulnerability": {
        "name": "CVE-2026-45736"
      }
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-09-24T09:31:26.931840+00:00",
      "status_notes": "Vulnerability CVE-2026-48779 affects version 8.18.0-tuxcare.1 of ws, and is fixed in 8.18.0-tuxcare.2.",
      "vulnerability": {
        "name": "CVE-2026-48779"
      },
      "action_statement": "Vulnerability CVE-2026-48779 affects version 8.18.0-tuxcare.1 of ws, and is fixed in 8.18.0-tuxcare.2."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.0-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.0-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:12:51.396474+00:00",
      "status_notes": "Vulnerability GHSA-5v72-xg48-5rpm does not affect version 8.18.0-tuxcare.1 of ws. The target (ws 8.18.0-tuxcare.2) is NOT vulnerable to GHSA-5v72-xg48-5rpm (Object.prototype pollution DoS). The vulnerability pattern was already removed by an upstream vendor fix (commit 993b0cd4 by Luigi Pinca, April 2019) that shipped in the upstream ws 8.18.0 release (July 2024). The fix uses Object.create(null) to create prototype-less objects for extension and parameter storage, preventing crashes when Object.prototype property names like \"constructor\" or \"toString\" appear in the Sec-WebSocket-Extensions header. Testing confirms the code handles these malicious inputs safely without crashing.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "GHSA-5v72-xg48-5rpm"
      },
      "impact_statement": "The target (ws 8.18.0-tuxcare.2) is NOT vulnerable to GHSA-5v72-xg48-5rpm (Object.prototype pollution DoS). The vulnerability pattern was already removed by an upstream vendor fix (commit 993b0cd4 by Luigi Pinca, April 2019) that shipped in the upstream ws 8.18.0 release (July 2024). The fix uses Object.create(null) to create prototype-less objects for extension and parameter storage, preventing crashes when Object.prototype property names like \"constructor\" or \"toString\" appear in the Sec-WebSocket-Extensions header. Testing confirms the code handles these malicious inputs safely without crashing."
    }
  ]
}
