`npm audit` throws 6 vulnerabilities (1 moderate, 5 high)
See original GitHub issueBug description
npm audit
throws 6 vulnerabilities (1 moderate, 5 high)
(Effectively 3)
# npm audit report
axios <0.21.1
Severity: high
Server-Side Request Forgery - https://npmjs.com/advisories/1594
fix available via `npm audit fix --force`
Will install @paperbits/azure@0.1.412, which is outside the stated dependency range
node_modules/axios
@azure/ms-rest-js <=1.9.0
Depends on vulnerable versions of axios
node_modules/@azure/ms-rest-js
@azure/storage-blob <=10.3.0
Depends on vulnerable versions of @azure/ms-rest-js
node_modules/@paperbits/azure/node_modules/@azure/storage-blob
@paperbits/azure 0.1.296 - 0.1.376
Depends on vulnerable versions of @azure/storage-blob
node_modules/@paperbits/azure
ssri 5.2.2 - 6.0.1 || 7.0.0 - 8.0.0
Severity: moderate
Regular Expression Denial of Service - https://npmjs.com/advisories/565
fix available via `npm audit fix`
node_modules/ssri
node_modules/webpack/node_modules/ssri
y18n <3.2.2||=4.0.0||>=5.0.0 <5.0.5
Severity: high
Prototype Pollution - https://npmjs.com/advisories/1654
fix available via `npm audit fix`
node_modules/y18n
6 vulnerabilities (1 moderate, 5 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues, run:
npm audit fix --force
Reproduction steps
npm install
and/or npm audit
Expected behavior
Report Should ideally have no entries.
Is your portal managed or self-hosted?
Self-hosted
Release tag or commit SHA (if using self-hosted version)
2.8.0
API Management service name
N/A
Environment
N/A
Additional context
N/A
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Don't be alarmed by vulnerabilities after running NPM Install
The NPM registry runs a security audit on NPM packages. With the release of NPM ... One with a moderate status and one...
Read more >Found 4 vulnerabilities on npm install - Stack Overflow
Run the npm audit fix subcommand to automatically install compatible updates to vulnerable dependencies. Run the recommended commands ...
Read more >Auditing package dependencies for security vulnerabilities
A security audit is an assessment of package dependencies for security vulnerabilities. ... Note: The npm audit command is available in npm@6.
Read more >How to Fix Security Vulnerabilities with NPM - IFS Blog
Fixing security vulnerabilities is essential to the the success of ... Get a detailed report of the security vulnerabilities with npm audit.
Read more >Fixing security vulnerabilities in npm dependencies in less ...
2.1) To fix any dependency, you need to first know which npm package depends on that. npm audit. This will tell you the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @venura9, thanks, we’ll take care of it.
I have to close this issue because it is nearly impossible to bring the number of security audit warnings to zero. There is always a “dependency of a dependency of a dependency” that has some reported issues. However, this doesn’t always mean that your users are vulnerable. For example, the current audit brings up an issue in
meow
library which is a dependency ofsaas-loader
which used for the styles compilation in build time:Since it’s build time, there is no threat for end-users of the portal, because
meow
is not executed in the runtime at all.Of course, we still keep an eye on audit reports and fix whatever can be fixed right away. Besides that, we have automated tools in place that check our services/portals for vulnerabilities, and we have a bounty-hunting program. All these measures help us identify and mitigate actual security issues.
Hope that makes sense.