Vulnerabilities in pkg:npm/@soketi/soketi
PACKAGEGHSA-g6w6-h933-4rc5 is a CRITICAL (CVSS 9.8) soketi was exposed to sandbox vulnerability (General Security Weakness) affecting @soketi/soketi libraries in the npm ecosystem. The issue involves soketi was exposed to sandbox escape vulnerability via vm2. Remediation is available by upgrading affected packages to version 1.6.0.
pkg:npm/@soketi/soketi
Vulnerability advisories affecting package pkg:npm/@soketi/soketi. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-g6w6-h933-4rc5 | - | CRITICAL | Soketi was exposed to Sandbox Escape vulnerability via vm2 |
| GHSA-86ch-6w7v-v6xf | CVE-2022-21667 | HIGH | Denial of Service in soketi |
| GHSA-2w8g-m5j8-7m87 | - | CRITICAL | Zalgo-like output that crashes the server |
GHSA-g6w6-h933-4rc5 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix GHSA-g6w6-h933-4rc5
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@1.6.0
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-g6w6-h933-4rc5, 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 1.6.0), 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-g6w6-h933-4rc5 Affected @soketi/soketi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@soketi/soketi
|
npm |
< 1.6.0
|
1.6.0
|
References
Frequently Asked Questions
What is GHSA-g6w6-h933-4rc5?
Which @soketi/soketi versions are affected?
What version fixes GHSA-g6w6-h933-4rc5?
Is @soketi/soketi affected?
What is the CVSS score of GHSA-g6w6-h933-4rc5?
What CWE is associated with GHSA-g6w6-h933-4rc5?
How can I check npm dependencies for GHSA-g6w6-h933-4rc5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g6w6-h933-4rc5",
"modified" : "2023-08-03T19:44:52Z",
"published" : "2023-08-03T19:44:52Z",
"aliases" : [ ],
"summary" : "Soketi was exposed to Sandbox Escape vulnerability via vm2",
"details" : "### Impact\n_What kind of vulnerability is it? Who is impacted?_\nAnyone who might have used Soketi with the `cluster` driver (or through PM2).\n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\nGet the latest version of Soketi.\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\nNone. It's advised to upgrade to the latest version.\n\n### References\n_Are there any links users can visit to find out more?_\n- https://github.com/advisories/GHSA-cchq-frgv-rjh5\n- https://github.com/patriksimek/vm2/issues/533\n- https://github.com/Unitech/pm2/issues/5643\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@soketi/soketi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/soketi/soketi/security/advisories/GHSA-g6w6-h933-4rc5"
}, {
"type" : "WEB",
"url" : "https://github.com/Unitech/pm2/issues/5643"
}, {
"type" : "WEB",
"url" : "https://github.com/patriksimek/vm2/issues/533"
}, {
"type" : "WEB",
"url" : "https://github.com/soketi/soketi/pull/927"
}, {
"type" : "WEB",
"url" : "https://github.com/soketi/soketi/commit/de12bff706c0d62e6a57dc1c7be3c4f014d0093a"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-cchq-frgv-rjh5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/soketi/soketi"
}, {
"type" : "WEB",
"url" : "https://github.com/soketi/soketi/releases/tag/1.6.0"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-03T19:44:52Z",
"nvd_published_at" : null
}
}