GHSA-mmqv-m45h-q2hp: Sandbox Breakout / Arbitrary Code Execution in localeval
(updated )
All versions of localeval are vulnerable to Sandbox Escape leading to Remote Code Execution. The package fails to restrict access to the main context through constructor.constructor. This may allow attackers to execute arbitrary code in the system. Evaluating the payload
constructor.constructor("return process.env")()
returns the contents of process.env.
References
Code Behaviors & Features
Detect and mitigate GHSA-mmqv-m45h-q2hp with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →