6.5 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): Low (L)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
vm2: sandbox boundary bypass via host Promise resolution preserving host object identity
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, a sandbox boundary violation in vm2 allows host object identity to cross into the sandbox through host Promise resolution. When a host-side Promise that resolves to a host object is exposed to the sandbox, the value delivered to the sandbox .then() callback preserves host identity. This allows the sandbox to interact with the host object directly, including performing identity checks using host-side WeakMap and mutating host object state from inside the sandbox. This behavior occurs because the Promise fulfillment wrapper uses ensureThis() instead of the stronger cross-realm conversion path (from() / proxy wrapping). If no prototype mapping is found, ensureThis() returns the original object. As a result, objects resolved by host Promises can cross the sandbox boundary without proper isolation. This vulnerability is fixed in 3.11.0.
References
-
https://github.com/patriksimek/vm2/security/advisories/GHSA-mpf8-4hx2-7cjg x_refsource_CONFIRMexploit
Affected products
- ==< 3.11.0
Matching in nixpkgs
pkgs.lvm2
Tools to support Logical Volume Management (LVM) on Linux
pkgs.lvm2_vdo
Tools to support Logical Volume Management (LVM) on Linux
pkgs.lvm2_dmeventd
Tools to support Logical Volume Management (LVM) on Linux
pkgs.docker-machine-kvm2
KVM2 driver for docker-machine
-
nixos-25.11 kvm2-1.37.0
- nixos-25.11-small kvm2-1.37.0
- nixpkgs-25.11-darwin kvm2-1.37.0
Package maintainers
-
@7c6f434c Michael Raskin <7c6f434c@mail.ru>
-
@ajs124 Andreas Schrägle <nix@ajs124.de>
-
@AtkinsChang Atkins Chang <atkinschang+nixpkgs@gmail.com>
-
@tadfisher Tad Fisher <tadfisher@gmail.com>