Описание
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, vm2's CallSite wrapper class (intended as a safe wrapper for V8's native CallSite) blocks getThis() and getFunction() to prevent host object leakage, but allows getFileName() to return unsanitized host absolute paths. Any sandboxed code can extract the full directory structure, library paths, and framework versions of the host server. This vulnerability is fixed in 3.11.0.
A flaw was found in vm2 (before 3.11.0). The CallSite wrapper blocks getThis() and getFunction() but returns unsanitized host absolute paths from getFileName(), allowing sandboxed code to learn host directory layout, library paths, and framework versions. Fixed in 3.11.0.
Отчет
vm2 is vulnerable to information disclosure via unsanitized host file paths returned by CallSite.getFileName(). A remote unauthenticated attacker who can run sandboxed code may extract host filesystem layout and version information. Fixed in vm2 3.11.0.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Developer Hub | rhdh/rhdh-hub-rhel9 | Not affected | ||
| Red Hat Ansible Automation Platform 2.1 | ansible-automation-platform/automation-portal | Fixed | RHSA-2026:50850 | 05.08.2026 |
Показывать по
Дополнительная информация
Статус:
EPSS
5.8 Medium
CVSS3
Связанные уязвимости
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, vm2's CallSite wrapper class (intended as a safe wrapper for V8's native CallSite) blocks getThis() and getFunction() to prevent host object leakage, but allows getFileName() to return unsanitized host absolute paths. Any sandboxed code can extract the full directory structure, library paths, and framework versions of the host server. This vulnerability is fixed in 3.11.0.
vm2 is Vulnerable to Host File Path Disclosure via Stack Trace Information Leak
Уязвимость библиотеки vm2 пакетного менеджера NPM, связанная с недостатками механизма формирования отчетов об ошибках, позволяющая нарушителю раскрыть защищаемую информацию
EPSS
5.8 Medium
CVSS3