{
  "@id": "urn:uuid:e1f18f70-4365-49a0-b0cc-660e0c89283f",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 8,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-12-03T10:42:23.597405+00:00",
  "statements": [
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@7.5.13",
          "identifiers": {
            "purl": "pkg:npm/ws@7.5.13"
          }
        }
      ],
      "timestamp": "2026-12-03T08:29:53.867053+00:00",
      "status_notes": "Vulnerability CVE-2016-10518 does not affect version 7.5.13 of ws. CVE-2016-10518 describes a memory disclosure vulnerability in ws < 1.0.1 where passing a numeric argument to client.ping() caused allocation of an uninitialized buffer. Target version 7.5.13 is NOT affected because upstream fixes were included in the release before TuxCare onboarding. The vulnerable pattern (numeric input to new Buffer() causing uninitialized allocation) is not present. Two layers of defense exist: (1) WebSocket.js:340 converts numbers to strings before passing to sender, (2) buffer-util.js:97 uses Buffer.from() which rejects numeric input. Both defenses were authored by upstream maintainers (Arnout Kazemier in 2016, Luigi Pinca in 2017) and shipped in upstream release 7.5.13.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2016-10518"
      },
      "impact_statement": "CVE-2016-10518 describes a memory disclosure vulnerability in ws < 1.0.1 where passing a numeric argument to client.ping() caused allocation of an uninitialized buffer. Target version 7.5.13 is NOT affected because upstream fixes were included in the release before TuxCare onboarding. The vulnerable pattern (numeric input to new Buffer() causing uninitialized allocation) is not present. Two layers of defense exist: (1) WebSocket.js:340 converts numbers to strings before passing to sender, (2) buffer-util.js:97 uses Buffer.from() which rejects numeric input. Both defenses were authored by upstream maintainers (Arnout Kazemier in 2016, Luigi Pinca in 2017) and shipped in upstream release 7.5.13."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@7.5.13",
          "identifiers": {
            "purl": "pkg:npm/ws@7.5.13"
          }
        }
      ],
      "timestamp": "2026-12-03T08:29:53.867053+00:00",
      "status_notes": "Vulnerability CVE-2016-10542 does not affect version 7.5.13 of ws. Version 7.5.13 is not affected by CVE-2016-10542. The maxPayload defense (100 MB default limit) that prevents unbounded memory allocation from large WebSocket payloads was already present in the upstream release before TuxCare onboarded it. The fix commit (61de514) was authored by an upstream contributor (dumbi_olise@yahoo.co.uk) and is confirmed to be an ancestor of the first TuxCare commit, which only added build configuration without modifying source code.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2016-10542"
      },
      "impact_statement": "Version 7.5.13 is not affected by CVE-2016-10542. The maxPayload defense (100 MB default limit) that prevents unbounded memory allocation from large WebSocket payloads was already present in the upstream release before TuxCare onboarded it. The fix commit (61de514) was authored by an upstream contributor (dumbi_olise@yahoo.co.uk) and is confirmed to be an ancestor of the first TuxCare commit, which only added build configuration without modifying source code."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@7.5.13",
          "identifiers": {
            "purl": "pkg:npm/ws@7.5.13"
          }
        }
      ],
      "timestamp": "2026-11-04T02:17:00.047857+00:00",
      "status_notes": "Vulnerability CVE-2021-32640 does not affect version 7.5.13 of ws. not_affected \u2014 Target version 7.5.13 is not affected by CVE-2021-32640. The vulnerable regex-based parsing of the Sec-Websocket-Protocol header has been replaced with a safe literal comma split followed by individual trimming. The fix was authored by upstream maintainer Luigi Pinca in commit 00c425ec, shipped in upstream version 7.4.6, and is present in the target version 7.5.13 that TuxCare onboarded.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2021-32640"
      },
      "impact_statement": "not_affected \u2014 Target version 7.5.13 is not affected by CVE-2021-32640. The vulnerable regex-based parsing of the Sec-Websocket-Protocol header has been replaced with a safe literal comma split followed by individual trimming. The fix was authored by upstream maintainer Luigi Pinca in commit 00c425ec, shipped in upstream version 7.4.6, and is present in the target version 7.5.13 that TuxCare onboarded."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@7.5.13",
          "identifiers": {
            "purl": "pkg:npm/ws@7.5.13"
          }
        }
      ],
      "timestamp": "2026-12-03T08:29:53.867053+00:00",
      "status_notes": "Vulnerability CVE-2024-37890 does not affect version 7.5.13 of ws. CVE-2024-37890 is not present in ws@7.5.13. The vulnerability (server crash when headers exceed maxHeadersCount threshold) was fixed in upstream version 7.5.10 by commit 22c28763. The target version 7.5.13 is built on top of 7.5.10 and includes this upstream fix. The defensive code checks if the upgrade header is undefined before calling .toLowerCase() on it, preventing the crash.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2024-37890"
      },
      "impact_statement": "CVE-2024-37890 is not present in ws@7.5.13. The vulnerability (server crash when headers exceed maxHeadersCount threshold) was fixed in upstream version 7.5.10 by commit 22c28763. The target version 7.5.13 is built on top of 7.5.10 and includes this upstream fix. The defensive code checks if the upgrade header is undefined before calling .toLowerCase() on it, preventing the crash."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/ws@7.5.13",
          "identifiers": {
            "purl": "pkg:npm/ws@7.5.13"
          }
        }
      ],
      "timestamp": "2026-12-02T18:51:07.349333+00:00",
      "status_notes": "Vulnerability CVE-2026-140009 affects version 7.5.13 of ws, and is fixed in 7.5.13-tuxcare.1.",
      "vulnerability": {
        "name": "CVE-2026-140009"
      },
      "action_statement": "Vulnerability CVE-2026-140009 affects version 7.5.13 of ws, and is fixed in 7.5.13-tuxcare.1."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@7.5.13",
          "identifiers": {
            "purl": "pkg:npm/ws@7.5.13"
          }
        }
      ],
      "timestamp": "2026-12-03T10:42:23.597405+00:00",
      "status_notes": "Vulnerability CVE-2026-45736 does not affect version 7.5.13 of ws. Not applicable to this version per review of closed MR https://gitlab.com/secure-libraries/els-js/ws/-/merge_requests/53: Closing (not applicable): CVE-2026-45736 lives in the 8.x 'buf.set(data, 2)' branch of Sender.close accepting any TypedArray. In 7.5.13 Sender.close always does buf.write(data, 2), which throws for non-string reasons before anything is sent; the advisory PoC leaks nothing on the target. The patch file itself states 'no source change needed'.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2026-45736"
      },
      "impact_statement": "Not applicable to this version per review of closed MR https://gitlab.com/secure-libraries/els-js/ws/-/merge_requests/53: Closing (not applicable): CVE-2026-45736 lives in the 8.x 'buf.set(data, 2)' branch of Sender.close accepting any TypedArray. In 7.5.13 Sender.close always does buf.write(data, 2), which throws for non-string reasons before anything is sent; the advisory PoC leaks nothing on the target. The patch file itself states 'no source change needed'."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@7.5.13",
          "identifiers": {
            "purl": "pkg:npm/ws@7.5.13"
          }
        }
      ],
      "timestamp": "2026-12-03T08:29:53.867053+00:00",
      "status_notes": "Vulnerability CVE-2026-48779 does not affect version 7.5.13 of ws. The target version ws@7.5.13 is NOT AFFECTED by CVE-2026-48779. The vulnerability (unbounded memory allocation via excessive small fragments/chunks leading to OOM) was fixed in upstream ws@7.5.11 and is present in this version. The fix adds configurable limits maxBufferedChunks (default 262,144) and maxFragments (default 16,384) with runtime checks that reject excessive buffering and close the connection with error code 1008. The fixing commits (e14c4586 and deec2114) were authored by upstream maintainers Luigi Pinca and Nadav Magier, not TuxCare. HEAD contains no TuxCare commits\u2014this is a plain upstream release containing the vendor's fix.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2026-48779"
      },
      "impact_statement": "The target version ws@7.5.13 is NOT AFFECTED by CVE-2026-48779. The vulnerability (unbounded memory allocation via excessive small fragments/chunks leading to OOM) was fixed in upstream ws@7.5.11 and is present in this version. The fix adds configurable limits maxBufferedChunks (default 262,144) and maxFragments (default 16,384) with runtime checks that reject excessive buffering and close the connection with error code 1008. The fixing commits (e14c4586 and deec2114) were authored by upstream maintainers Luigi Pinca and Nadav Magier, not TuxCare. HEAD contains no TuxCare commits\u2014this is a plain upstream release containing the vendor's fix."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/ws@7.5.13",
          "identifiers": {
            "purl": "pkg:npm/ws@7.5.13"
          }
        }
      ],
      "timestamp": "2026-12-03T08:29:53.867053+00:00",
      "status_notes": "Vulnerability GHSA-5v72-xg48-5rpm does not affect version 7.5.13 of ws. Target version 7.5.13 is not affected by GHSA-5v72-xg48-5rpm. The vulnerability was fixed in upstream version 7.0.0 (commit 993b0cd4 by Luigi Pinca) which shipped well before 7.5.13. The fix uses `Object.create(null)` to create prototype-less objects, preventing Object.prototype property names (constructor, hasOwnProperty, etc.) from causing crashes. The vulnerable pattern (using regular objects `{}` with `extensions[token] || []`) is not present in the target.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "GHSA-5v72-xg48-5rpm"
      },
      "impact_statement": "Target version 7.5.13 is not affected by GHSA-5v72-xg48-5rpm. The vulnerability was fixed in upstream version 7.0.0 (commit 993b0cd4 by Luigi Pinca) which shipped well before 7.5.13. The fix uses `Object.create(null)` to create prototype-less objects, preventing Object.prototype property names (constructor, hasOwnProperty, etc.) from causing crashes. The vulnerable pattern (using regular objects `{}` with `extensions[token] || []`) is not present in the target."
    }
  ]
}
