Problem/Motivation
In 9.5.x, running yarn audit reports the following critical issue with vm2:
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ critical │ vm2 vulnerable to Sandbox Escape resulting in Remote Code │
│ │ Execution on host │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ vm2 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=3.9.11 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ nightwatch │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ nightwatch > proxy-agent > pac-proxy-agent > pac-resolver > │
│ │ degenerator > vm2 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://www.npmjs.com/advisories/1084716 │
└───────────────┴──────────────────────────────────────────────────────────────┘
This has been discussed with the security team and it has been determined this can be handled in public.
Steps to reproduce
Proposed resolution
Upgrade vm2 in yarn.lock.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3325517-2.patch | 728 bytes | longwave |
Comments
Comment #2
longwaveComment #3
longwaveComment #4
catchLooks good.
Comment #5
catchCommitted/pushed to 9.5.x, thanks!
Comment #8
Technorange commentedUpgrade vm2:3.9.15 due to vulnerability https://nvd.nist.gov/vuln/detail/CVE-2023-29017
Comment #9
greggles@technorange can you file a new issue? this one is old and closed so we need a new one for a new vulnerability.