Fix d3-color ReDoS vulnerability (GHSA-36jr-mh4h-2g58)#32
Open
willie wants to merge 1 commit into
Open
Conversation
Add npm override to force d3-color>=3.1.0. The vulnerable 2.0.0 comes via @elastic/charts -> d3-scale@3 -> d3-interpolate@2 and upstream has no fix — they still pin d3-scale@^3.3.0. Co-Authored-By: Claude Opus 4.6 (1M context) <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
overridesto forced3-color>=3.1.0across all transitive depsd3-color@2.0.0@elastic/chartspinsd3-scale@^3.3.0which capsd3-interpolateat v2, pulling in vulnerabled3-color@2.0.0. No upstream fix available — latest@elastic/charts@71.4.1still has this pinning.>=3.1.0override is future-safe and becomes a no-op once upstream bumps tod3-scale@4Test plan
npm ls d3-colorconfirms both copies resolve to 3.1.0npm auditno longer flags d3-color🤖 Generated with Claude Code