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

@ionic/cli critical vulnerabiliy with vm2 #4921

Closed
anthony-bernardo opened this issue Oct 9, 2022 · 2 comments
Closed

@ionic/cli critical vulnerabiliy with vm2 #4921

anthony-bernardo opened this issue Oct 9, 2022 · 2 comments
Labels

Comments

@anthony-bernardo
Copy link

It's seems that there is a vulnerability within @ionic/cli

vm2  <3.9.11
Severity: critical
vm2 vulnerable to Sandbox Escape resulting in Remote Code Execution on host - https://github.com/advisories/GHSA-mrgp-mrhc-5jrq
└─┬ @ionic/cli@6.20.3
  └─┬ superagent-proxy@3.0.0
    └─┬ proxy-agent@5.0.0
      └─┬ pac-proxy-agent@5.0.0
        └─┬ pac-resolver@5.0.0
          └─┬ degenerator@3.0.2
            └── vm2@3.9.9
@ionitron-bot ionitron-bot bot added the triage label Oct 9, 2022
@jcesarmobile
Copy link
Member

Please, only report vulnerabilities of direct dependencies.

This is no longer an issue, has been fixed automatically since none of the packages is using a package-lock.json file, so it picks latest versions available.

@jcesarmobile jcesarmobile closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2023
@jskrepnek
Copy link

If you're not using the proxy features of the CLI, just override the dep:

  "overrides": {
    "proxy-agent": "6.3.0"
  }

I've not observed any downsides so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants