You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running yarn audit on the code produces a worrying output:
1212 vulnerabilities found - Packages audited: 1790
Severity: 48 Low | 161 Moderate | 1003 High
Done in 8.68s.
Expected Behavior
Not report any vulnerability or only a few Lows (maybe).
Maybe update the version requirements for packages so no vulnerable versions are pulled in?
Also maybe cut on the required modules (split the list into dev and production, now all are production required)?
Downloading 1567 modules seems a bit excessive (although yarn audit reports 1790 packages).
Linking dependencies step makes checks 97856 checks.
Steps to Reproduce
Run:
yarn audit
or
yarn audit --modules-folder /opt/sensu/yarn/node_modules
based on how yarn install was run.
Context
I am trying NOT to deploy a vulnerabile application in a production environment.
Your Environment
Sensu version used (sensuctl, sensu-backend, and/or sensu-agent): 6.4.0 (not relevant in this context)
Installation method (packages, binaries, docker etc.): yarn and nodejs installed from official upstream debs
Operating System and version (e.g. Ubuntu 14.04): Debian 10
Running yarn audit on the code produces a worrying output:
1212 vulnerabilities found - Packages audited: 1790
Severity: 48 Low | 161 Moderate | 1003 High
Done in 8.68s.
Expected Behavior
Not report any vulnerability or only a few Lows (maybe).
Current Behavior
1003 High vulnerabilities identified.
Out of all these, 12 CVEs reported,
https://www.npmjs.com/advisories/1603
https://www.npmjs.com/advisories/1654
https://www.npmjs.com/advisories/1673
https://www.npmjs.com/advisories/1678
https://www.npmjs.com/advisories/1679
https://www.npmjs.com/advisories/1753
https://www.npmjs.com/advisories/1762
https://www.npmjs.com/advisories/1770
https://www.npmjs.com/advisories/1771
https://www.npmjs.com/advisories/1779
https://www.npmjs.com/advisories/1780
https://www.npmjs.com/advisories/1781
Possible Solution
Maybe update the version requirements for packages so no vulnerable versions are pulled in?
Also maybe cut on the required modules (split the list into dev and production, now all are production required)?
Downloading 1567 modules seems a bit excessive (although yarn audit reports 1790 packages).
Linking dependencies step makes checks 97856 checks.
Steps to Reproduce
Run:
yarn audit
or
yarn audit --modules-folder /opt/sensu/yarn/node_modules
based on how yarn install was run.
Context
I am trying NOT to deploy a vulnerabile application in a production environment.
Your Environment
Yarn version:
The text was updated successfully, but these errors were encountered: