{"id":"GHSA-22rr-f3p8-5gf8","aliases":[],"url":"https://o3.security/vulnerability/GHSA-22rr-f3p8-5gf8","summary":"Directus affected by VM2 sandbox escape vulnerability","details":"### Impact\nIn 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.\n\n### Patches\nPatched in v10.6.0 by replacing `vm2` with `isolated-vm`\n\n### Workarounds\nNone\n\n### References\nhttps://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5","published":"2023-09-15T17:12:42Z","modified":"2023-09-15T17:12:42Z","cvss":{"score":7.6,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"directus","fixedVersion":"10.6.0"}],"fix":{"url":"https://github.com/directus/directus/pull/19332","label":"directus/directus#19332"},"references":[{"type":"WEB","url":"https://github.com/directus/directus/security/advisories/GHSA-22rr-f3p8-5gf8"},{"type":"WEB","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-cchq-frgv-rjh5"},{"type":"WEB","url":"https://github.com/directus/directus/pull/19332"},{"type":"WEB","url":"https://github.com/directus/directus/commit/284156426fa94f688e8d65a7a4f34f9e6705f058"},{"type":"PACKAGE","url":"https://github.com/directus/directus"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-09-15T17:12:42Z"}}