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

"d3-color": "^2.0.0" is causing high Dependency alert #1809

Closed
amanyzohair opened this issue Nov 6, 2022 · 6 comments · May be fixed by #1813
Closed

"d3-color": "^2.0.0" is causing high Dependency alert #1809

amanyzohair opened this issue Nov 6, 2022 · 6 comments · May be fixed by #1813
Labels

Comments

@amanyzohair
Copy link

Describe the bug
Versions prior to 3.1.0 are vulnerable to a Regular expression Denial of Service. This issue has been patched in version 3.1.0. There are no known workarounds .. and I can't update it because it's a dependency in ngx-charts@20.1.0

References

Screenshots

warning

@amanyzohair amanyzohair added the Bug label Nov 6, 2022
@drk-mtr
Copy link

drk-mtr commented Nov 7, 2022

I believe this is a duplicate of #1799

It would be great to see this fixed. d3-color is making my charts pretty, but as a side-effect it's also making my vulnerability check pipelines red and angry looking.

@anthonyattard
Copy link

Getting this message as well. Hopefully this will be resolved soon as there is already #1800

@uap-universe
Copy link

#1798 as well

@marjan-georgiev
Copy link
Member

marjan-georgiev commented Dec 6, 2022

Fixed in 20.1.2

@uap-universe
Copy link

@marjan-georgiev It's already some progress that you changed your explicit dependency to d3-color to 3.1.0, but you also have transitive dependencies via the other d3-* packages. npm audit is still complaining.

By the way, for the project itself the situation regarding vulnerable dependencies is even more critical. I freshly checked out the repository and ran npm audit with the following result:

28 vulnerabilities (1 low, 8 moderate, 14 high, 5 critical)

@trickeyone
Copy link

@marjan-georgiev I'm still seeing this issue on 20.1.2

├─┬ @swimlane/ngx-charts@20.1.2
│ ├── d3-color@2.0.0 invalid: "^3.1.0" from node_modules/@swimlane/ngx-charts
│ ├─┬ d3-interpolate@2.0.1
│ │ └── d3-color@2.0.0 deduped invalid: "^3.1.0" from node_modules/@swimlane/ngx-charts
│ └─┬ d3-transition@2.0.0
│   └── d3-color@2.0.0 deduped invalid: "^3.1.0" from node_modules/@swimlane/ngx-charts
├── d3-color@3.1.0

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

Successfully merging a pull request may close this issue.

6 participants