[Aikido] Fix security issue in lodash-es via minor version upgrade from 4.17.21 to 4.18.1 in client#797
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
Conversation
Author
|
Closed by Aikido: a new AutoFix has been created → #798 |
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 lodash-es to patch critical RCE vulnerability in _.template via options.imports injection and medium prototype pollution issues in _.unset and _.omit functions.
✅ Code not affected by breaking changes.
✅ No breaking changes from the lodash-es upgrade affect this codebase. While
lodash-esis present as a transitive dependency through CKEditor5 packages, the codebase does not directly use the affected methods (_.unset,_.omit, or_.template). All occurrences of these terms in the codebase are unrelated to lodash-es functionality (MongoDB operators, application-specific templates, and documentation).All breaking changes by upgrading lodash-es from version 4.17.21 to 4.18.1 (CHANGELOG)
_.unset/_.omit:constructorandprototypeare now blocked unconditionally as non-terminal path keys. Calls that previously returnedtrueand deleted the property now returnfalseand leave the target untouched._.template:importskeys containing forbidden identifier characters now throw"Invalid imports option passed into _.template"error, where previously they were accepted.✅ 3 CVEs resolved by this upgrade, including 1 critical 🚨 CVE
This PR will resolve the following CVEs: