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

fix(dependencies): switch from dagre-d3 to dagre-d3-es #5745

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

marvingreeven
Copy link

@marvingreeven marvingreeven commented Jul 10, 2024

Description

"@elsa-workflows/elsa-workflows-studio" depends on "dagre-d3": "^0.6.4", which depends on "d3": "^5.14", which depends on "d3-color": "1". Which is vulnerable to Remote DoS: GHSA-36jr-mh4h-2g58

dagre-d3 is not maintained anymore (dagrejs/dagre-d3#434):
There is a fork to this project were this security issue got fixed: https://github.com/tbo47/dagre-es

Should we switch from dagre-d3 v0.6 to dagre-d3-es v7

Version

@elsa-workflows/elsa-workflows-studio v2.14.1

Logs

"vulnerabilities":` {
    "@elsa-workflows/elsa-workflows-studio": {
      "name": "@elsa-workflows/elsa-workflows-studio",
      "severity": "high",
      "isDirect": true,
      "via": [
        "dagre-d3"
      ],
      "effects": [],
      "range": "*",
      "nodes": [
        "node_modules/@elsa-workflows/elsa-workflows-studio"
      ],
      "fixAvailable": false
    },

This fixes #5744


This change is Reviewable

@sfmskywalker sfmskywalker merged commit a7544f3 into elsa-workflows:2.x Jul 11, 2024
7 checks passed
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

Successfully merging this pull request may close these issues.

2 participants