Security vulnerability in dependency tree
See original GitHub issuenpm audit
reports finding 2 vulnerabilities
Although the security warning relates to Lodash, it actuall the Vorpal package causing the problem - it hasnβt been updated for months, and appears to be dead
Expected Behavior
There should be no vulnerabilities.
Current Behavior
npm reports
found 2 vulnerabilities (1 low, 1 moderate) in 115 scanned packages 2 vulnerabilities require manual review. See the full report for details.
Affected packages
- cli
- core
- prompt
- config-angular
Possible Solution
Steps to Reproduce (for bugs)
- Create a new project (or use an existing one)
npm install --save-dev @commitlint/prompt
npm audit
output ->
=== npm audit security report ===
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Manual Review β
β Some vulnerabilities require your attention to resolve β
β β
β Visit https://go.npm.me/audit-guide for additional guidance β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Moderate β Prototype Pollution β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Package β lodash β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Patched in β >=4.17.11 β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Dependency of β @commitlint/prompt [dev] β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Path β @commitlint/prompt > vorpal > inquirer > lodash β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β More info β https://nodesecurity.io/advisories/782 β
βββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Low β Prototype Pollution β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Package β lodash β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Patched in β >=4.17.5 β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Dependency of β @commitlint/prompt [dev] β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Path β @commitlint/prompt > vorpal > inquirer > lodash β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β More info β https://nodesecurity.io/advisories/577 β
βββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
found 2 vulnerabilities (1 low, 1 moderate) in 115 scanned packages
2 vulnerabilities require manual review. See the full report for details.
Context
Your Environment
Executable | Version |
---|---|
commitlint/prompt --version |
7.5.0 |
git --version |
2.17.2 |
node --version |
11.2.0 |
Issue Analytics
- State:
- Created 5 years ago
- Reactions:11
- Comments:22 (4 by maintainers)
Top Results From Across the Web
Vulnerabilities in Dependencies: What You Need to Know
The risk of using dependencies with known vulnerabilities has been included in the OWASP top 10 list of security risks. It has been...
Read more >Investigate Dependencies in the Application Dependency Tree
LFX Security looks for vulnerabilities in your open-source dependencies and identifies the vulnerabilities. The Dependency Tree dashboard provides detailedΒ ...
Read more >78% of vulnerabilities are found in indirect dependencies ...
Snyk has scanned over a million snapshot projects and has discovered that vulnerabilities in indirect dependencies account for 78% of overall Β ...
Read more >Fixing vulnerabilities found in a dependency tree - ITNEXT
Fixing vulnerabilities found in a dependency tree. I'm working for a company that produces financial cloud solutions. We're making a new appΒ ...
Read more >Remediating vulnerable dependencies
In operating a system with a dependency scan you'll find that vulnerabilities do pop up in your dependencies, and this is a guide...
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 guys, I understand porting to TS has a higher priority but this issue stops us from using commitlint in our products. As mentioned at the vorpal issue, is it possible to switch to use the fork before we have a proper rewrite?
@iTsFILIPOficial π ! Thanks for the quick feedback!
My idea would be to merge this and a create
next
-release. Then you could test that again.Would try to create this during the weekend.