Skip to content

Security issues with outdated dependency #433

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

Closed
franher opened this issue May 28, 2018 · 2 comments
Closed

Security issues with outdated dependency #433

franher opened this issue May 28, 2018 · 2 comments
Assignees

Comments

@franher
Copy link

franher commented May 28, 2018

Description/Steps to reproduce

There is a security vulnerability in "strong-globalize": "^3.1.0" (see Prototype Pollution for more details).

prototype pollution vulnerability

To reproduce it set up a project with latest loopback-connector-mongodb (v3.4.3) as dependency and run nspover it:

$> npm init
$> npm i --save loopback-connector-mongodb
$> npx nsp -- check

The vulnerability comes from [email protected] > [email protected] > [email protected] > [email protected] . All the related packages with the issue have release a version fixing the vulnerability:

[email protected] is released few days ago, so updating it here would fix the issue.

Link to reproduction sandbox

Not apply for this issue.

Expected result

Not security vulnerabilities after running nsp or npm audit.

Additional information

  • Result of node -e 'console.log(process.platform, process.arch, process.versions.node)'
darwin x64 8.11.2
  • Result of npm ls --prod --depth 0 | grep loopback
@virkt25 virkt25 self-assigned this Jun 1, 2018
@virkt25
Copy link
Contributor

virkt25 commented Jun 1, 2018

@franher Can you please try this again -- npm i for me installs [email protected] which is not vulnerable. nsp comes clean for me.

@franher
Copy link
Author

franher commented Jun 5, 2018

@virkt25 You're right. Now, installing loopback-connector-mongodb v3.4.3 and v3.4.4 the security issue is out.

Thank you for your time.

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

No branches or pull requests

2 participants