Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerability in d3/color - requires upgrade to v3.1.0 #2423

Closed
justenPalmer opened this issue Sep 1, 2023 · 5 comments
Closed

Vulnerability in d3/color - requires upgrade to v3.1.0 #2423

justenPalmer opened this issue Sep 1, 2023 · 5 comments

Comments

@justenPalmer
Copy link

Snyk uncovered a security issue with a Nivo dependency (d3/color) fixed in version v3.1.0. Could we get you guys to update this dependency?

Thank you for all you guys are doing with this project. It's a great data visualization engine and I look forward to using it more.

@captainamerican
Copy link

I submitted an issue months ago and they attempted to push through a fix which didn't. Life's hard, so I'm not going to dump on an open source project for blah, blah, and blah. Here's what worked for me while they get this cleaned up:

Add this to your package.json:

"overrides": {
  "d3-color": "3.1.0"
},

baptou12 added a commit to betagouv/mes-aides-analytics that referenced this issue Oct 24, 2023
@awais-codes
Copy link

I submitted an issue months ago and they attempted to push through a fix which didn't. Life's hard, so I'm not going to dump on an open source project for blah, blah, and blah. Here's what worked for me while they get this cleaned up:

Add this to your package.json:

"overrides": {
  "d3-color": "3.1.0"
},

It would be nice to know what version of nivo libs are you using? I am on 0.83 and this did not fix the issue for me.

@plouc
Copy link
Owner

plouc commented Nov 14, 2023

Should be fixed by #2461, but not released yet.

@plouc
Copy link
Owner

plouc commented Nov 14, 2023

Should be fixed in 0.83.1.

@plouc plouc closed this as completed Nov 14, 2023
@cythrawll
Copy link

This is still broken as @nivo/color is pulling in an old d3-chromatic-scale which is pulling in a vulnerable d3-color.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants