fix(security): update lodash to 4.17.23, add lodash-es override#285
Closed
fix(security): update lodash to 4.17.23, add lodash-es override#285
Conversation
Fixes Prototype Pollution vulnerability in _.unset and _.omit functions. Resolves Dependabot alerts #97 (lodash) and #96 (lodash-es). GHSA-xxjr-mmjv-4gpg Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator
Author
|
Superseded by #287 — the clean lockfile regeneration in that PR resolves lodash to 4.17.23 and lodash-es to 4.17.23 automatically. |
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.
Summary
lodashfrom ^4.17.21 to ^4.17.23 inui/package.jsonlodashandlodash-esoverrides in rootpackage.jsonto ensure all transitive copies are also patchedFixes Prototype Pollution vulnerability in
_.unsetand_.omitfunctions (GHSA-xxjr-mmjv-4gpg).Dependabot Alerts Resolved
Lockfile changes
The lockfile diff includes removal of several stale optional peer dependencies (terser, source-map-support, meow, vue-template-compiler, etc.) that are cleaned up during
npm install. These are unrelated to the lodash fix but are a normal side effect of lockfile regeneration.Test plan
npm installcompletes without errorsnpm auditno longer reports lodash/lodash-es vulnerabilities🤖 Generated with Claude Code