[Aikido] Fix 14 security issues in lodash-es, lodash, pdfmake and 5 more#1545
Open
aikido-autofix[bot] wants to merge 1 commit intomasterfrom
Open
[Aikido] Fix 14 security issues in lodash-es, lodash, pdfmake and 5 more#1545aikido-autofix[bot] wants to merge 1 commit intomasterfrom
aikido-autofix[bot] wants to merge 1 commit intomasterfrom
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 RCE vulnerability in lodash template injection via options.imports, prototype pollution in .unset/.omit, SSRF in pdfmake URL loading, and prototype pollution in baseui. This update includes breaking changes that require manual migration.
Where your code is affected:
src/components/data-grid/export/exportPdf.ts:36Impact: The code accesses
pdfMake.vfsandpdfFonts.pdfMake.vfsdirectly, which is affected by the breaking change "Change including virtual font storage in client-side". Additionally, the interface unification and promise-based API changes may affect how the module is imported and used.Remediation: Update the font storage access pattern according to pdfmake 0.3.x documentation and verify the import paths and method signatures are compatible with the new unified interface.
All breaking changes by upgrading lodash-es from version 4.17.21 to 4.18.0 (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.All breaking changes by upgrading lodash from version 4.17.21 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.All breaking changes by upgrading pdfmake from version 0.1.72 to 0.3.6 (CHANGELOG)
pageBreakBeforefunctionAll breaking changes by upgrading d3-color from version 2.0.0 to 3.1.0 (CHANGELOG)
✅ 11 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
prototypeandconstructorproperties, potentially leading to unintended behavior, security breaches, or further exploitation.*()and+()) generate regexps with catastrophic backtracking, causing severe ReDoS denial-of-service attacks with minimal input patterns triggering multi-second hangs.