VDB
Sign up
HIGH7.6

GHSA-22rr-f3p8-5gf8

Directus affected by VM2 sandbox escape vulnerability

Quick fix

GHSA-22rr-f3p8-5gf8 — directus: upgrade to the fixed version with the command below.

npm install directus@10.6.0

Details

### 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

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/directus
Introduced in: 0Fixed in: 10.6.0
Fixnpm install directus@10.6.0

References