{
  "@id": "urn:uuid:4a3ad55d-183c-40f5-bc4e-e65d3081fdce",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 9,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-12-02T20:03:00.048557+00:00",
  "statements": [
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.2-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.2-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:32:00.242835+00:00",
      "status_notes": "Vulnerability CVE-2016-10518 does not affect version 8.18.2-tuxcare.1 of ws. CVE-2016-10518 affects ws versions prior to 1.0.1, where numeric arguments to client.ping() caused allocation of uninitialized memory, leading to memory disclosure. The target version 8.18.2-tuxcare.1 is not affected because the upstream fix (commit 29293ed11b679e0366fa0f6bb9310b330dafd795) was already present in the upstream release. The vulnerable pattern\u2014where numbers are used as buffer allocation sizes\u2014has been eliminated through multiple defense layers: WebSocket wrapper methods convert numbers to strings before passing to Sender, and the modern Buffer.from() API rejects numeric inputs with a TypeError.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2016-10518"
      },
      "impact_statement": "CVE-2016-10518 affects ws versions prior to 1.0.1, where numeric arguments to client.ping() caused allocation of uninitialized memory, leading to memory disclosure. The target version 8.18.2-tuxcare.1 is not affected because the upstream fix (commit 29293ed11b679e0366fa0f6bb9310b330dafd795) was already present in the upstream release. The vulnerable pattern\u2014where numbers are used as buffer allocation sizes\u2014has been eliminated through multiple defense layers: WebSocket wrapper methods convert numbers to strings before passing to Sender, and the modern Buffer.from() API rejects numeric inputs with a TypeError."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.2-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.2-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:34:28.812662+00:00",
      "status_notes": "Vulnerability CVE-2016-10542 does not affect version 8.18.2-tuxcare.1 of ws. CVE-2016-10542 affects ws versions before 1.1.1 due to unbounded WebSocket payload accumulation causing memory exhaustion and process crashes. The target version 8.18.2 is not affected because the upstream vendor fix (maxPayload limit with 100MB default) was already present in the upstream 8.18.2 release that TuxCare onboarded. The fix was introduced by upstream author Arnout Kazemier in version 1.1.1 (commit 0328a8f4, June 2016) and is enforced on all WebSocket input paths in the current codebase.",
      "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 accumulation causing memory exhaustion and process crashes. The target version 8.18.2 is not affected because the upstream vendor fix (maxPayload limit with 100MB default) was already present in the upstream 8.18.2 release that TuxCare onboarded. The fix was introduced by upstream author Arnout Kazemier in version 1.1.1 (commit 0328a8f4, June 2016) and is enforced on all WebSocket input paths in the current codebase."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.2-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.2-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-11-04T02:08:53.268759+00:00",
      "status_notes": "Vulnerability CVE-2021-32640 does not affect version 8.18.2-tuxcare.1 of ws. not_affected \u2014 The target ws@8.18.2-tuxcare.1 is NOT AFFECTED by CVE-2021-32640. The vulnerable pattern (protocol.trim().split(/ *, */)) that causes ReDoS with excessive whitespace is not present in the codebase. Version 8.x underwent an upstream architectural refactoring where protocol parsing was extracted into a dedicated character-by-character parser (lib/subprotocol.js, commit 1877ddeb by Luigi Pinca). T...",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2021-32640"
      },
      "impact_statement": "not_affected \u2014 The target ws@8.18.2-tuxcare.1 is NOT AFFECTED by CVE-2021-32640. The vulnerable pattern (protocol.trim().split(/ *, */)) that causes ReDoS with excessive whitespace is not present in the codebase. Version 8.x underwent an upstream architectural refactoring where protocol parsing was extracted into a dedicated character-by-character parser (lib/subprotocol.js, commit 1877ddeb by Luigi Pinca). T..."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.2-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.2-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T20:03:00.048557+00:00",
      "status_notes": "Vulnerability CVE-2024-37890 does not affect version 8.18.2-tuxcare.1 of ws. CVE-2024-37890 is not present in ws@8.18.2-tuxcare.1. The vulnerability (crash when request headers exceed server.maxHeadersCount) was fixed in upstream ws@8.17.1 by commit e55e5106. Since the target version 8.18.2 > 8.17.1, the fix was already present in the upstream release before TuxCare started maintaining this version. Both affected files (lib/websocket-server.js and lib/websocket.js) contain the defensive pattern that checks for undefined headers before calling methods on them.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2024-37890"
      },
      "impact_statement": "CVE-2024-37890 is not present in ws@8.18.2-tuxcare.1. The vulnerability (crash when request headers exceed server.maxHeadersCount) was fixed in upstream ws@8.17.1 by commit e55e5106. Since the target version 8.18.2 > 8.17.1, the fix was already present in the upstream release before TuxCare started maintaining this version. Both affected files (lib/websocket-server.js and lib/websocket.js) contain the defensive pattern that checks for undefined headers before calling methods on them."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.2-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.2-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-01T18:22:00.166820+00:00",
      "status_notes": "Vulnerability CVE-2026-140009 affects version 8.18.2-tuxcare.1 of ws.",
      "vulnerability": {
        "name": "CVE-2026-140009"
      },
      "action_statement": "Vulnerability CVE-2026-140009 affects version 8.18.2-tuxcare.1 of ws."
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.2-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.2-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-10-19T22:18:00.134389+00:00",
      "status_notes": "Vulnerability CVE-2026-45736 is fixed in version 8.18.2-tuxcare.1 of ws.",
      "vulnerability": {
        "name": "CVE-2026-45736"
      }
    },
    {
      "status": "fixed",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.2-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.2-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-10-19T22:18:00.134389+00:00",
      "status_notes": "Vulnerability CVE-2026-48779 is fixed in version 8.18.2-tuxcare.1 of ws.",
      "vulnerability": {
        "name": "CVE-2026-48779"
      }
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@8.18.2-tuxcare.1",
          "identifiers": {
            "purl": "pkg:npm/ws@8.18.2-tuxcare.1"
          }
        }
      ],
      "timestamp": "2026-12-02T19:36:36.684287+00:00",
      "status_notes": "Vulnerability GHSA-5v72-xg48-5rpm does not affect version 8.18.2-tuxcare.1 of ws. The target ws@8.18.2-tuxcare.1 is NOT AFFECTED by GHSA-5v72-xg48-5rpm. The vulnerability involves crafted Sec-WebSocket-Extensions headers containing Object.prototype property names (e.g., \"constructor\", \"hasOwnProperty\") that could crash the application. The target code eliminates this vulnerability by using Object.create(null) to create prototype-free objects during header parsing (lib/extension.js:28-29), preventing any access to inherited Object.prototype properties. This fix (commit 993b0cd4, April 2019) was authored by upstream maintainer Luigi Pinca and was already present in the upstream release that TuxCare onboarded. Test coverage at test/extension.test.js:58-68 validates the protection.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "GHSA-5v72-xg48-5rpm"
      },
      "impact_statement": "The target ws@8.18.2-tuxcare.1 is NOT AFFECTED by GHSA-5v72-xg48-5rpm. The vulnerability involves crafted Sec-WebSocket-Extensions headers containing Object.prototype property names (e.g., \"constructor\", \"hasOwnProperty\") that could crash the application. The target code eliminates this vulnerability by using Object.create(null) to create prototype-free objects during header parsing (lib/extension.js:28-29), preventing any access to inherited Object.prototype properties. This fix (commit 993b0cd4, April 2019) was authored by upstream maintainer Luigi Pinca and was already present in the upstream release that TuxCare onboarded. Test coverage at test/extension.test.js:58-68 validates the protection."
    }
  ]
}
