Skip to content

Releases: patriksimek/vm2

v3.10.4

04 Feb 22:48

Choose a tag to compare

What's Changed

  • fix: prevent sandbox escape via Promise static method stealing
  • fix: prevent sandbox escape via Reflect.construct Promise species bypass
  • fix: prevent sandbox escape via proxy handler exposure in util.inspect
  • fix: prevent sandbox escape via fromOtherWithContext exposure in util.inspect

Full Changelog: v3.10.3...v3.10.4

v3.10.3

25 Jan 23:08

Choose a tag to compare

What's Changed

  • fix: prevent sandbox escape via Symbol.for cross-realm symbols
  • fix: prevent Symbol.for bypass via hasOwnProperty override
  • fix: prevent Symbol.for bypass via object key coercion
  • fix: prevent cross-realm symbol extraction via Object.getOwnPropertySymbols
  • fix: prevent cross-realm symbol extraction via spread operator on bridge proxies
  • fix: prevent sandbox escape via Promise species manipulation
  • fix: prevent Symbol.species getter TOCTOU bypass in Promise species reset
  • fix: eliminate Promise species TOCTOU by unconditional constructor override
  • fix: prevent sandbox escape via Promise.try static method stealing

Full Changelog: v3.10.2...v3.10.3

v3.10.2

17 Jan 14:51
4b009c2

Choose a tag to compare

What's Changed

  • fix: use Reflect.apply instead of .call() in Promise handlers by @patriksimek in #549

Full Changelog: v3.10.1...v3.10.2

v3.10.1

09 Jan 20:35

Choose a tag to compare

What's Changed

  • fix: Promise callback sanitization bypass vulnerability by @patriksimek in #547

Full Changelog: v3.10.0...v3.10.1

v3.10.0

24 Oct 19:43
96acb88

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.9.19...v3.10.0

3.9.19

16 May 05:30

Choose a tag to compare

Fixes

cfa3fc6: Fix resolver issue.

3.9.18

15 May 15:04

Choose a tag to compare

New Features

dd81ff6: Add resolver API to create a shared resolver for multiple NodeVM instances allowing to cache scripts and increase sandbox startup times.
4d662e3: Allow to pass a function to require.context which is called with the filename allowing to specify the context pre file. (Thanks to @blakebyrnes)

Fixes

d88105f: Fix issue leaking host array through Proxy. (Thanks to @arkark (Takeshi Kaneko) of GMO Cybersecurity by Ierae, Inc.)
5206ba2: Fix issue with inspect being writeable. (Thanks to @arkark (Takeshi Kaneko) of GMO Cybersecurity by Ierae, Inc.)

3.9.17

17 Apr 15:08

Choose a tag to compare

Fixes

4b22e87: Fix issue in catch block protection. (Thanks to Xion (SeungHyun Lee) of KAIST Hacking Lab.)
f3db4de: Fix issue with host exceptions thrown in async functions leaking though the Promise.

3.9.16

11 Apr 09:00

Choose a tag to compare

Fixes

24c724d: Fix issue in transformer issue by reworking replacement logic. (Thanky to Xion (SeungHyun Lee) of KAIST Hacking Lab.)

3.9.15

06 Apr 18:46

Choose a tag to compare

Fixes

d534e57: Ensure no host objects are passed through to Error.prepareStackTrace. (Thanky to Seongil Wi from KAIST WSP Lab)