GHSA-2w8g-m5j8-7m87: @soketi/soketi Zalgo-like Output That Crashes The Vulnerability
CRITICALGHSA-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
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.
npm install @soketi/soketi@0.26.1
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
GHSA-2w8g-m5j8-7m87 Affected @soketi/soketi Versions
1 component(s)| 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?
Which @soketi/soketi versions are affected?
What version fixes GHSA-2w8g-m5j8-7m87?
Is @soketi/soketi affected?
What CWE is associated with GHSA-2w8g-m5j8-7m87?
How can I check npm dependencies for GHSA-2w8g-m5j8-7m87?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}