question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Yargs dependency leads to vulnerable mem package

See original GitHub issue

The current "yargs": "^11.0.0" dependency has in turn a dependency on "os-locale": "^2.0.0", which in turn is dependent on "mem": "^1.1.0" which is vulnerable.

It seems that the only wayout is: bump the version of "yargs" to at least 12.0.0 but 13 is better.

Many thanks for adopting the stale mocha-webpack, by the way.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
larixercommented, Jul 16, 2019

Okay, no worries 😃 I’ll handle this

0reactions
larixercommented, Jul 16, 2019

@dirkroorda Done, published mochapack@1.1.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Medium severity vulnerability in mem (sub-dependency included ...
Running snyk test on yargs v12.0.1 (latest release on npm) results in: ✗ Medium severity vulnerability found in mem Description: Denial of Service...
Read more >
Yargs npm - Vulnerabilities & Security Analysis - Snyk
Affected versions of this package are vulnerable to Regular expression Denial of Service (ReDoS). It uses regex in the underscore and unescapeHTML methods, ......
Read more >
yargs-parser Vulnerable to Prototype Pollution - Vulners
Affected versions of yargs-parser are vulnerable to prototype pollution. Arguments are not properly sanitized, allowing an attacker to modify the prototype ...
Read more >
yarn test fails with jasmine-ts yargs dependency - Stack Overflow
package.json "resolutions": { "yargs": "^13.3.2" }. yargs could be a sub-dependency of some other module as well in your project, ...
Read more >
better-npm-audit - npm
Made to allow skipping certain vulnerabilities, and any extra ... Denial of Service Package minimatch Patched in >=3.0.2 Dependency of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found