Security vulnerability in js-yaml dependency
See original GitHub issueTell us about your environment
- ESLint Version: 5.16.0 (latest)
- Node Version: v11.12.0
- npm Version: 6.9.0
npm audit
will report this vulnerability
βββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β High β Code Injection β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Package β js-yaml β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Dependency of β eslint [dev] β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Path β eslint > js-yaml β
βββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β More info β https://npmjs.com/advisories/813 β
βββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
js-yaml - Snyk Vulnerability Database
version published direct vulnerabilities
4.1.0 14 Apr, 2021 0. C. 0. H. 0. M. 0. L
4.0.0 3 Jan, 2021 0. C. 0. H. 0....
Read more >Security vulnerability (High Severity) in js-yaml dependency
As an update, npm audit now yields a high severity error (code injection) on the same dependency. For reference, this is on node...
Read more >15393 (Dependency (js-yaml) Security Vulnerability) - jQuery UI
jscs is no longer supported and development team has moved over to help with the ESLint project. Consumption of a security patch is...
Read more >Fixing security vulnerabilities in npm dependencies in less ...
So a better solution here would be to only delete the lines corresponding to the vulnerable package in your package-lock.json(or yarn.lock) file. Run...
Read more >js-yaml | npm | Open Source Insights
JavaScript YAML parser and dumper. Very fast. call_split 766 forks. star 6k stars. OpenSSF scorecard. The Open Source Security Foundation is a crossΒ ......
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
I had just left a comment asking what fresh install meant, but I have just realised it was a painfully obvious
npm uninstall eslint
and thennpm install -D eslint
. For anyone else though who is not so clued in with npm like me, that workedItβs not clear to me that that would be warranted. Iβm not sure how your CI setup works, but thereβs nothing stopping you from using the latest version of
js-yaml
with the latest stable release of ESLint. In fact, if youβre doing a fresh install without a lockfile, you should already be getting the patched version ofjs-yaml
.