GHSA-22rr-f3p8-5gf8
JSON

7.6high

Directus affected by VM2 sandbox escape vulnerability

Severity
7.6high CVSS:3.1 by GitHub
Published
Last changed

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

Affected

Product or packageVersionsReported by
directus (npm)before 10.6.0GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-22rr-f3p8-5gf8 changed 2023-09-15CC-BY-4.0