build(deps): fix security vulnerabilities via dependency upgrades and overrides#2683
Open
ethan ozelius (ethan-ozelius-contentful) wants to merge 2 commits into
Open
Conversation
Resolves Dependabot alert #197 (CVE-2026-34043 / GHSA-qj8w-gfj5-8c6v). Upgrades serialize-javascript transitive dep from 6.0.2 to 7.0.5 which patches a CPU exhaustion DoS via crafted array-like objects. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Bito Automatic Review Skipped - Files Excluded |
Michael Pham (michaelphamcf)
previously approved these changes
May 5, 2026
…ilities Resolves Dependabot alerts #187, #188, #193, #194, #125: - lodash >=4.18.0: fixes CVE-2026-4800 (code injection via _.template imports) and CVE-2026-2950 (prototype pollution via _.unset/_.omit array path bypass) - picomatch >=4.0.4: fixes CVE-2026-33672 (method injection in POSIX character classes) - tmp >=0.2.4: fixes CVE-2025-54798 (symlink bypass for arbitrary temp file write) All are transitive dev-only deps addressed via npm overrides since the direct parents (contentful-sdk-core, inquirer, external-editor) pin older ranges. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
@rollup/plugin-terserfrom0.4.4to1.0.0, pulling inserialize-javascript@7.0.5— fixes #197 (CVE-2026-34043: CPU exhaustion DoS)npm overridesto force patched versions of transitive dev deps that upstream parents pin to vulnerable ranges:lodash >=4.18.0— fixes #193 (CVE-2026-2950: prototype pollution via_.unset/_.omit) and #194 (CVE-2026-4800: code injection via_.templateimports)picomatch >=4.0.4— fixes #187 / #188 (CVE-2026-33672: method injection in POSIX character classes)tmp >=0.2.4— fixes #125 (CVE-2025-54798: symlink bypass for arbitrary temp file write)Note: A
picomatch@4.0.3instance inside npm's own bundled modules (node_modules/npm/node_modules/tinyglobby) cannot be overridden from project config — that alert will persist innpm auditbut is not exploitable from userland code.Test plan
npm run build)tsd)lodash@4.18.1,picomatch@4.0.4,tmp@0.2.5,serialize-javascript@7.0.5Generated with Claude Code