Lucene search

K
nodejsPosixNODEJS:1319
HistoryNov 14, 2019 - 9:21 p.m.

Sandbox Breakout / Arbitrary Code Execution

2019-11-1421:21:16
posix
www.npmjs.com
9

Overview

Versions of pitboss-ng prior to 2.0.0 are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context through this.constructor.constructor . This may allow attackers to execute arbitrary code in the system. Evaluating the payload this.constructor.constructor('return process.env')() prints the contents of process.env.

Recommendation

Upgrade to version 2.0.0 or later.

References

GitHub Advisory