SandboxJSに サンドボックス内のスコープを改変される脆弱性
Summary
SandboxJSの0.8.36より前のバージョンには、new演算子を通じてサンドボックス内のコードから内部のインタープリターオブジェクトが漏れる脆弱性があります。これにより、サンドボックス内のスコープを改変される可能性があります。ただし、コードの評価はサンドボックス内にとどまり、プロトタイプは保護されたままとされています。修正版の0.8.36が公開されているので、@nyariv/sandboxjsを0.8.36以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
SandboxJSの0.8.36より前のバージョンには、new演算子を通じてサンドボックス内のコードから内部のインタープリターオブジェクトが漏れる脆弱性があります。これにより、サンドボックス内のスコープを改変される可能性があります。ただし、コードの評価はサンドボックス内にとどまり、プロトタイプは保護されたままとされています。修正版の0.8.36が公開されているので、@nyariv/sandboxjsを0.8.36以降に更新してください。
Original description The description as published by the source.
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.36, a scope modification vulnerability exists in @nyariv/sandboxjs. The vulnerability allows untrusted sandboxed code to leak internal interpreter objects through the new operator, exposing sandbox scope objects in the scope hierarchy to untrusted code; an unexpected and undesired exploit. While this could allow modifying scopes inside the sandbox, code evaluation remains sandboxed and prototypes remain protected throughout the execution. This vulnerability is fixed in 0.8.36.
Source: NIST National Vulnerability Database NVD
References
- exploit github.com