Skip to content

Sandbox Escape

Critical
patriksimek published GHSA-mrgp-mrhc-5jrq Aug 30, 2022

Package

npm vm2 (npm)

Affected versions

< 3.9.11

Patched versions

3.9.11

Description

Impact

A threat actor can bypass the sandbox protections to gain remote code execution rights on the host running the sandbox.

Patches

This vulnerability was patched in the release of version 3.9.11 of vm2

Workarounds

None.

References

Github Issue - #467
The file that was patched - https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71
The commit with the patch - d9a7f3c#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164

For more information

If you have any questions or comments about this advisory:

  • Open an issue in VM2

Thanks to the Oxeye research team for disclosing this vulnerability.

Severity

Critical

CVE ID

CVE-2022-36067

Weaknesses

No CWEs

Credits