Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical security vulnerability in vm2 #2070

Closed
Havunen opened this issue Feb 21, 2022 · 2 comments
Closed

Critical security vulnerability in vm2 #2070

Havunen opened this issue Feb 21, 2022 · 2 comments
Labels

Comments

@Havunen
Copy link

Havunen commented Feb 21, 2022

Sandbox bypass in vm2 - GHSA-6pw2-5hjv-9pf7
fix available via npm audit fix

node_modules/vm2

1 critical severity vulnerability

npm list vm2 shows this repository as part of the dependency chain


`-- ibm-openapi-validator@0.53.1
  `-- @stoplight/spectral-cli@6.2.0
    `-- proxy-agent@5.0.0
      `-- pac-proxy-agent@5.0.0
        `-- pac-resolver@5.0.0
          `-- degenerator@3.0.1
            `-- vm2@3.9.5

Connects to TooTallNate/node-proxy-agent#74

@P0lip
Copy link
Contributor

P0lip commented Feb 22, 2022

There isn't a new version of proxy-agent available, so we cannot do much about it from our side.
The workaround you provided should be sufficient for now, as luckily the denegerator package doesn't have the version pinned, so vm2 can be easily updated.

@P0lip P0lip added the blocked label Feb 22, 2022
@P0lip
Copy link
Contributor

P0lip commented Aug 30, 2022

We should be good now. We no longer depend on 3.9.5.

@P0lip P0lip closed this as completed Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants