GHSA-22rr-f3p8-5gf8 Directus affected by VM2 sandbox escape vulnerability
HighCVSS 7.6
- Published
- Updated
- Exploit status
- No public exploit known
Description
Impact
In vm2 for versions up to 3.9.19, Promise handler sanitization can be bypassed, allowing attackers to escape the sandbox and run arbitrary code. Within Directus this applies to the "Run Script" operation in flows being able to escape the sandbox running code in the main nodejs context.
Patches
Patched in v10.6.0 by replacing vm2 with isolated-vm
Workarounds
None
References
https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm directus(npm) | < 10.6.0 | 10.6.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm directus(npm) | < 10.6.0 | 10.6.0 |
References
- github.com vendor-advisory
- github.com vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com product