[Aikido] Fix 9 security issues in lodash, @babel/traverse, ajv and 2 more#2
Open
aikido-autofix[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade dependencies to fix critical RCE vulnerabilities in lodash template injection and @babel/traverse code evaluation, plus prototype pollution and DoS issues.
✅ Code not affected by breaking changes.
✅ No breaking changes from the lodash upgrade affect this codebase.
The codebase does not directly depend on lodash (it's not listed in
package.jsondependencies), and none of the source code files (lib/index.js,bin/lock-diff.js,__tests__/index.test.js) import or use lodash methods. The affected methods (_.unset,_.omit,_.template) are not used anywhere in the codebase.Lodash only appears as a transitive dependency through other packages like
table,eslint, andinquirer, but those packages will manage their own compatibility with lodash versions.All breaking changes by upgrading lodash from version 4.17.15 to 4.18.0 (CHANGELOG)
_.unset/_.omitnow blockconstructorandprototypeas non-terminal path keys unconditionally. Calls that previously returnedtrueand deleted the property now returnfalseand leave the target untouched._.templatenow throws"Invalid imports option passed into _.template"whenimportskeys contain forbidden identifier characters, which were previously allowed.✅ 9 CVEs resolved by this upgrade
This PR will resolve the following CVEs: