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

npm reports moderate severity vulnerability (via mapillary_sprite_source) #5463

Closed
matkoniecz opened this issue Nov 3, 2018 · 2 comments
Closed
Labels
wontfix-not-a-bug Not actually a bug

Comments

@matkoniecz
Copy link
Contributor

On installation I got recommendation to run npm audit fix or npm audit due to "1 moderate severity vulnerability"

npm audit fix was unable to fix issue automatically and recommended running npm audit to get detailed info.

npm audit
                                                                                
                       === npm audit security report ===                        
                                                                                
┌──────────────────────────────────────────────────────────────────────────────┐
│                                Manual Review                                 │
│            Some vulnerabilities require your attention to resolve            │
│                                                                              │
│         Visit https://go.npm.me/audit-guide for additional guidance          │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Sandbox Breakout / Arbitrary Code Execution                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ static-eval                                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=2.0.0                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ mapillary_sprite_source [dev]                                │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ mapillary_sprite_source > brfs > static-module > static-eval │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://nodesecurity.io/advisories/548                       │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 1 moderate severity vulnerability in 2335 scanned packages
  1 vulnerability requires manual review. See the full report for details.

@matkoniecz matkoniecz changed the title npm reports moderate severity vulnerability npm reports moderate severity vulnerability (via mapillary_sprite_source) Nov 3, 2018
@bhousel
Copy link
Member

bhousel commented Nov 3, 2018

Yeah - People don't really like this security audit feature because it highlights stuff like this in the dev dependencies that are not real vulnerabilities.

Even though mapillary is using brfs to assemble the sprites for browserify, the vulnerability can't affect us downstream because we only use the svgs from their repository. iD doesn't actually run brfs anywhere.

The overagressive warning is reported here: npm/npm#20564 and I think they are working on it, but it's hard to tell since they have switched the project to a new repository.

@bhousel bhousel closed this as completed Nov 3, 2018
@bhousel bhousel added the wontfix-not-a-bug Not actually a bug label Nov 3, 2018
@matkoniecz
Copy link
Contributor Author

wow, they moved bug reporting to a forum ( https://npm.community/c/bugs )

Well, at least now https://github.com/openstreetmap/iD/issues?utf8=%E2%9C%93&q=npm+audit+ gives some results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix-not-a-bug Not actually a bug
Projects
None yet
Development

No branches or pull requests

2 participants