GHSA-g6w6-h933-4rc5: @soketi/soketi Soketi Was Exposed To Sandbox Vulnerability

CRITICAL
CVSS 9.8
Published
Advisory Summary

GHSA-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.

GHSA-g6w6-h933-4rc5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-g6w6-h933-4rc5
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification General Security Weakness
Affected Product @soketi/soketi
Package Ecosystem npm
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

@soketi/soketi fixed: 1.6.0
npm install @soketi/soketi@1.6.0
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-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

### Impact _What kind of vulnerability is it? Who is impacted?_ Anyone who might have used Soketi with the `cluster` driver (or through PM2). ### Patches _Has the problem been patched? What versions should users upgrade to?_ Get the latest version of Soketi. ### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_ None. It's advised to upgrade to the latest version. ### References _Are there any links users can visit to find out more?_ - https://github.com/advisories/GHSA-cchq-frgv-rjh5 - https://github.com/patriksimek/vm2/issues/533 - https://github.com/Unitech/pm2/issues/5643

GHSA-g6w6-h933-4rc5 Affected @soketi/soketi Versions

1 component(s)
Fixed Versions:
1.6.0
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?
GHSA-g6w6-h933-4rc5 is a security vulnerability in @soketi/soketi involving Soketi was exposed to Sandbox Escape vulnerability via vm2 under General Security Weakness.
Which @soketi/soketi versions are affected?
Affected versions include releases prior to 1.6.0 across affected packages: @soketi/soketi.
What version fixes GHSA-g6w6-h933-4rc5?
Upgrading to 1.6.0 (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 1.6.0. Upgrade your dependency to 1.6.0 or later.
What is the CVSS score of GHSA-g6w6-h933-4rc5?
GHSA-g6w6-h933-4rc5 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-g6w6-h933-4rc5?
GHSA-g6w6-h933-4rc5 is classified under General Security Weakness.
How can I check npm dependencies for GHSA-g6w6-h933-4rc5?
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-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
  }
}