Skip to content

Instantly share code, notes, and snippets.

View Slonser's full-sized avatar
🐍
Focusing

(Slonser) Slonser

🐍
Focusing
  • SolidLab
View GitHub Profile
@leesh3288
leesh3288 / vm2_3.9.15_sandbox_escape.md
Last active November 29, 2023 10:51
Sandbox Escape in vm2@3.9.15

Sandbox Escape in vm2@3.9.15

Summary

There exists a vulnerability in source code transformer (exception sanitization logic) of vm2 for versions up to 3.9.15, allowing attackers to bypass handleException() and leak unsanitized host exceptions which can be used to escape the sandbox and run arbitrary code in host context.

Proof of Concept