{
  "@id": "urn:uuid:4156831c-7d4d-46c7-90dd-2ff3f0ae1335",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 10,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-12-02T20:05:04.862692+00:00",
  "statements": [
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:50:48.872689+00:00",
      "status_notes": "Vulnerability CVE-2016-10518 does not affect version 8.18.1 of ws. CVE-2016-10518 affects ws versions < 1.0.1 where numeric input to ping/pong methods caused uninitialized memory allocation and disclosure. The target (ws 8.18.1) contains the upstream fix (commit 29293ed1 from 2016-01-04 by Arnout Kazemier) which converts numeric input to strings before buffer creation. The fix was later refactored (commit 45d5c389 from 2017-01-03) to move the protection from Sender.js to WebSocket.js, where it remains today at lines 373 and 405. Both commits are upstream work shipped in the release TuxCare onboarded. The vulnerable pattern (unprotected numeric input reaching buffer allocation) is not present.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2016-10518"
      },
      "impact_statement": "CVE-2016-10518 affects ws versions < 1.0.1 where numeric input to ping/pong methods caused uninitialized memory allocation and disclosure. The target (ws 8.18.1) contains the upstream fix (commit 29293ed1 from 2016-01-04 by Arnout Kazemier) which converts numeric input to strings before buffer creation. The fix was later refactored (commit 45d5c389 from 2017-01-03) to move the protection from Sender.js to WebSocket.js, where it remains today at lines 373 and 405. Both commits are upstream work shipped in the release TuxCare onboarded. The vulnerable pattern (unprotected numeric input reaching buffer allocation) is not present."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:51:09.572650+00:00",
      "status_notes": "Vulnerability CVE-2016-10542 does not affect version 8.18.1 of ws. CVE-2016-10542 (unbounded WebSocket payload DoS) is not present in ws 8.18.1. The vulnerability was fixed in the upstream ws package in January 2016 (commit 61de5146 by Olise Olisedumbi Tamunodiepiriye), well before version 8.18.1 was released. The fix adds a configurable `maxPayload` option (defaulting to 100 MB) that tracks cumulative payload length during message reception and rejects messages exceeding the limit with error code 1009 before allocating memory. TuxCare onboarded version 8.18.1 from upstream with this fix already included; no TuxCare backport was needed for this version.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2016-10542"
      },
      "impact_statement": "CVE-2016-10542 (unbounded WebSocket payload DoS) is not present in ws 8.18.1. The vulnerability was fixed in the upstream ws package in January 2016 (commit 61de5146 by Olise Olisedumbi Tamunodiepiriye), well before version 8.18.1 was released. The fix adds a configurable `maxPayload` option (defaulting to 100 MB) that tracks cumulative payload length during message reception and rejects messages exceeding the limit with error code 1009 before allocating memory. TuxCare onboarded version 8.18.1 from upstream with this fix already included; no TuxCare backport was needed for this version."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.1"
          }
        }
      ],
      "timestamp": "2026-11-04T02:29:19.607783+00:00",
      "status_notes": "Vulnerability CVE-2021-32640 does not affect version 8.18.1 of ws. not_affected \u2014 CVE-2021-32640 is not present in ws 8.18.1. The vulnerable ReDoS pattern (protocol.trim().split(/ *, */)) was eliminated by upstream refactoring in commit 1877ddeb (June 2021, ws 8.0.0+). The target uses subprotocol.parse() which implements O(n) character-by-character parsing, completely avoiding regex backtracking on crafted Sec-WebSocket-Protocol headers.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2021-32640"
      },
      "impact_statement": "not_affected \u2014 CVE-2021-32640 is not present in ws 8.18.1. The vulnerable ReDoS pattern (protocol.trim().split(/ *, */)) was eliminated by upstream refactoring in commit 1877ddeb (June 2021, ws 8.0.0+). The target uses subprotocol.parse() which implements O(n) character-by-character parsing, completely avoiding regex backtracking on crafted Sec-WebSocket-Protocol headers."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.1"
          }
        }
      ],
      "timestamp": "2026-12-02T20:05:04.862692+00:00",
      "status_notes": "Vulnerability CVE-2024-37890 does not affect version 8.18.1 of ws. CVE-2024-37890 is NOT present in ws@8.18.1. The vulnerability (crash when calling .toLowerCase() on undefined headers.upgrade due to maxHeadersCount truncation) was fixed in upstream ws@8.17.1 by commit e55e5106f10fcbaac37cfa89759e4cc0d073a52c (Luigi Pinca). The target version 8.18.1 includes this upstream fix. Both server-side (lib/websocket-server.js:238,247) and client-side (lib/websocket.js:932,934) code paths now check if the upgrade header is undefined before calling methods on it.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2024-37890"
      },
      "impact_statement": "CVE-2024-37890 is NOT present in ws@8.18.1. The vulnerability (crash when calling .toLowerCase() on undefined headers.upgrade due to maxHeadersCount truncation) was fixed in upstream ws@8.17.1 by commit e55e5106f10fcbaac37cfa89759e4cc0d073a52c (Luigi Pinca). The target version 8.18.1 includes this upstream fix. Both server-side (lib/websocket-server.js:238,247) and client-side (lib/websocket.js:932,934) code paths now check if the upgrade header is undefined before calling methods on it."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.1"
          }
        }
      ],
      "timestamp": "2026-12-01T18:22:00.166820+00:00",
      "status_notes": "Vulnerability CVE-2026-140009 affects version 8.18.1 of ws.",
      "vulnerability": {
        "name": "CVE-2026-140009"
      },
      "action_statement": "Vulnerability CVE-2026-140009 affects version 8.18.1 of ws."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.1"
          }
        }
      ],
      "timestamp": "2026-10-15T12:49:59.116477+00:00",
      "status_notes": "Vulnerability CVE-2026-45736 affects version 8.18.1 of ws.",
      "vulnerability": {
        "name": "CVE-2026-45736"
      },
      "action_statement": "Vulnerability CVE-2026-45736 affects version 8.18.1 of ws."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.1"
          }
        }
      ],
      "timestamp": "2026-10-15T12:49:59.116477+00:00",
      "status_notes": "Vulnerability CVE-2026-48779 affects version 8.18.1 of ws.",
      "vulnerability": {
        "name": "CVE-2026-48779"
      },
      "action_statement": "Vulnerability CVE-2026-48779 affects version 8.18.1 of ws."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:50:58.022642+00:00",
      "status_notes": "Vulnerability GHSA-5v72-xg48-5rpm does not affect version 8.18.1 of ws. The target ws@8.18.1 is NOT AFFECTED by GHSA-5v72-xg48-5rpm. The vulnerability (DoS via Object.prototype property names in Sec-WebSocket-Extensions header) was fixed in the upstream release via commit 993b0cd4 (2019-04-26) by Luigi Pinca. The fix uses Object.create(null) to create prototype-less objects in lib/extension.js, preventing the crash that occurs when properties like \"constructor\" or \"toString\" are used as extension/parameter names. This is an architecturally superior alternative to the original hasOwnProperty() fix (c4fe466, 2017-11-08). Testing confirmed the parser accepts malicious inputs without crashing. The fix shipped in the upstream release that TuxCare packaged; there are no TuxCare commits in HEAD's ancestry.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "GHSA-5v72-xg48-5rpm"
      },
      "impact_statement": "The target ws@8.18.1 is NOT AFFECTED by GHSA-5v72-xg48-5rpm. The vulnerability (DoS via Object.prototype property names in Sec-WebSocket-Extensions header) was fixed in the upstream release via commit 993b0cd4 (2019-04-26) by Luigi Pinca. The fix uses Object.create(null) to create prototype-less objects in lib/extension.js, preventing the crash that occurs when properties like \"constructor\" or \"toString\" are used as extension/parameter names. This is an architecturally superior alternative to the original hasOwnProperty() fix (c4fe466, 2017-11-08). Testing confirmed the parser accepts malicious inputs without crashing. The fix shipped in the upstream release that TuxCare packaged; there are no TuxCare commits in HEAD's ancestry."
    }
  ]
}
