Skip to content

Conversation

nikita-lysenko
Copy link

1 mem vulnerability found in package-lock.json

Propose to upgrade yargs to version 14.0.0 or later to get rid of required dependency "os-locale" which requires "mem" module with vulnerability.

Details:
In nodejs-mem before version 4.0.0 there is a memory leak due to old results not being removed from the cache despite reaching maxAge. Exploitation of this can lead to exhaustion of memory and subsequent denial of service.

@shawnbot
Copy link
Owner

Thanks for this! Could you switch the whitespace back to 2 spaces in package.json, please?

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

Successfully merging this pull request may close these issues.

2 participants