GHSA-2w8g-m5j8-7m87: @soketi/soketi Zalgo-like Output That Crashes The Vulnerability

CRITICAL
Published
Advisory Summary

GHSA-2w8g-m5j8-7m87 is a CRITICAL zalgo-like output that crashes the vulnerability (General Security Weakness) affecting @soketi/soketi libraries in the npm ecosystem. The issue involves zalgo-like output that crashes the server. Remediation is available by upgrading affected packages to version 0.26.1.

GHSA-2w8g-m5j8-7m87 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2w8g-m5j8-7m87
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product @soketi/soketi
Package Ecosystem npm
Published Date
Last Updated

How to Fix GHSA-2w8g-m5j8-7m87

To remediate this vulnerability, upgrade all affected @soketi/soketi dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@soketi/soketi fixed: 0.26.1
npm install @soketi/soketi@0.26.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @soketi/soketi

How to Check if You Are Affected

To determine whether your Node.js application is affected by GHSA-2w8g-m5j8-7m87, inspect your project dependencies using npm:

npm ls @soketi/soketi

Analyze the terminal output to locate any version of @soketi/soketi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.26.1), your application is affected.

Note: The npm ls @soketi/soketi command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In @soketi/soketi, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact _What kind of vulnerability is it? Who is impacted?_ [`colors`](https://npmjs.com/package/colors) package caused zalgo-like output (see https://github.com/soketi/soketi/issues/276, https://github.com/Marak/colors.js/issues/289), breaking the servers. **Only NPM users that recently upgraded or installed the NPM package are affected.** Docker users seem to not be affected as the dependencies were bundled at the time of the build, which were tested. ### Patches _Has the problem been patched? What versions should users upgrade to?_ Latest patch. `0.26.1` to be exact at the time of writing. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ You cannot get around this as it's related to dependencies. ### References _Are there any links users can visit to find out more?_ - https://github.com/Marak/colors.js/issues/289 ### For more information If you have any questions or comments about this advisory: * Open an issue in [the issues board](https://github.com/soketi/soketi/issues) * Email us at [alex@renoki.org](mailto:alex@renoki.org)

GHSA-2w8g-m5j8-7m87 Affected @soketi/soketi Versions

1 component(s)
Fixed Versions:
0.26.1
Product / Package Ecosystem Affected Versions Fixed Version
@soketi/soketi
npm
< 0.26.1
0.26.1

References

Frequently Asked Questions

What is GHSA-2w8g-m5j8-7m87?
GHSA-2w8g-m5j8-7m87 is a security vulnerability in @soketi/soketi involving Zalgo-like output that crashes the server under General Security Weakness.
Which @soketi/soketi versions are affected?
Affected versions include releases prior to 0.26.1 across affected packages: @soketi/soketi.
What version fixes GHSA-2w8g-m5j8-7m87?
Upgrading to 0.26.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @soketi/soketi affected?
Yes, @soketi/soketi is affected in releases prior to 0.26.1. Upgrade your dependency to 0.26.1 or later.
What CWE is associated with GHSA-2w8g-m5j8-7m87?
GHSA-2w8g-m5j8-7m87 is classified under General Security Weakness.
How can I check npm dependencies for GHSA-2w8g-m5j8-7m87?
Run the dependency tree command: 'npm ls @soketi/soketi'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2w8g-m5j8-7m87",
  "modified" : "2022-01-10T21:37:04Z",
  "published" : "2022-01-12T21:45:59Z",
  "aliases" : [ ],
  "summary" : "Zalgo-like output that crashes the server",
  "details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\n[`colors`](https://npmjs.com/package/colors) package caused zalgo-like output (see https://github.com/soketi/soketi/issues/276, https://github.com/Marak/colors.js/issues/289), breaking the servers.\n\n**Only NPM users that recently upgraded or installed the NPM package are affected.**\n\nDocker users seem to not be affected as the dependencies were bundled at the time of the build, which were tested.\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\nLatest patch. `0.26.1` to be exact at the time of writing.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nYou cannot get around this as it's related to dependencies.\n\n### References\n_Are there any links users can visit to find out more?_\n\n- https://github.com/Marak/colors.js/issues/289\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the issues board](https://github.com/soketi/soketi/issues)\n* Email us at [alex@renoki.org](mailto:alex@renoki.org)\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@soketi/soketi"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.26.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/soketi/soketi/security/advisories/GHSA-2w8g-m5j8-7m87"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-01-10T21:37:04Z",
    "nvd_published_at" : null
  }
}