IBM / Ionic-MFP-App

This repository contains instructions to develop a secure, enterprise-grade Ionic/Cordova based hybrid mobile app that connects to CouchDB/Cloudant and ObjectStorage via IBM Mobile Foundation service.
https://developer.ibm.com/patterns/develop-hybrid-mobile-app-with-cloud-native-back-end/
Apache License 2.0
15 stars 25 forks source link

Github warning: We found a potential security vulnerability in one of your dependencies #22

Open shivahr opened 6 years ago

shivahr commented 6 years ago

Following is the information given in Github warning:

We found a potential security vulnerability in one of your dependencies.

A dependency defined in IonicMobileApp/package-lock.json has known security vulnerabilities and should be updated.

Dependencies defined in IonicMobileApp/package-lock.json 500 hapijs / hoek Known security vulnerability in 4.2.0

Known vulnerability found

shivahr commented 6 years ago

Related issues:

shivahr commented 6 years ago
$ npm ls hoek
IonicMobileApp@0.0.1
├─┬ @angular/compiler-cli@5.0.3
│ └─┬ chokidar@1.7.0
│   └─┬ fsevents@1.1.3
│     └─┬ node-pre-gyp@0.6.39
│       └─┬ hawk@3.1.3
│         ├─┬ boom@2.10.1
│         │ └── hoek@2.16.3  deduped
│         ├── hoek@2.16.3 
│         └─┬ sntp@1.0.9
│           └── hoek@2.16.3  deduped
├─┬ @ionic/app-scripts@3.1.5
│ └─┬ node-sass@4.5.3
│   └─┬ request@2.83.0
│     └─┬ hawk@6.0.2
│       ├─┬ boom@4.3.1
│       │ └── hoek@4.2.0  deduped
│       ├─┬ cryptiles@3.1.2
│       │ └─┬ boom@5.2.0
│       │   └── hoek@4.2.0  deduped
│       ├── hoek@4.2.0 
│       └─┬ sntp@2.1.0
│         └── hoek@4.2.0  deduped
└─┬ cordova-plugin-mfp@8.0.2018030105
  └─┬ request@2.74.0
    └─┬ hawk@3.1.3
      ├─┬ boom@2.10.1
      │ └── hoek@2.16.3  deduped
      ├── hoek@2.16.3 
      └─┬ sntp@1.0.9
        └── hoek@2.16.3  deduped

The vulnerable dependency hoek@4.2.0 is through @ionic/app-scripts@3.1.5

CyberBLN commented 6 years ago

https://github.com/ionic-team/ionic-app-scripts/pull/1493 will fix this