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

Update lodash (or mocha) to address vulnerability reported by npm audit #39

Closed
walro opened this issue Jul 2, 2020 · 1 comment · Fixed by #40
Closed

Update lodash (or mocha) to address vulnerability reported by npm audit #39

walro opened this issue Jul 2, 2020 · 1 comment · Fixed by #40

Comments

@walro
Copy link
Contributor

walro commented Jul 2, 2020

                       === npm audit security report ===                        
                                                                                
┌──────────────────────────────────────────────────────────────────────────────┐
│                                Manual Review                                 │
│            Some vulnerabilities require your attention to resolve            │
│                                                                              │
│         Visit https://go.npm.me/audit-guide for additional guidance          │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low           │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ lodash                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ No patch available                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ mocha [dev]                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ mocha > yargs-unparser > lodash                              │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/1523                            │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 1 low severity vulnerability in 124 scanned packages
  1 vulnerability requires manual review. See the full report for details.

Currently, there's no version of lodash released with a fix for this. See, for instance, https://github.com/lodash/lodash/issues/4836

@walro
Copy link
Contributor Author

walro commented Jul 2, 2020

Actually, we can get by this by upgrading mocha as yargs-unparser has dropped the lodash dependency as of 1.6.1. See yargs/yargs-unparser@036fd30 and mochajs/mocha#4354

However, there have been no new release of mocha either :)

@walro walro changed the title Update lodash to address vulnerability reported by npm audit Update lodash (or mocha) to address vulnerability reported by npm audit Jul 2, 2020
walro added a commit that referenced this issue Jul 9, 2020
@walro walro mentioned this issue Jul 9, 2020
@walro walro closed this as completed in #40 Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant