d3-color vulnerable to ReDoS
See original GitHub issueDependabot cannot update d3-color to a non-vulnerable version
The latest possible version that can be installed is 1.4.1 because of the following conflicting dependencies:
@swimlane/ngx-graph@8.0.2 requires d3-color@1 via a transitive dependency on d3-interpolate@1.4.0
@swimlane/ngx-graph@8.0.2 requires d3-color@1 via d3-transition@1.3.2
@swimlane/ngx-charts@20.1.0 requires d3-color@^2.0.0
@swimlane/ngx-charts@20.1.0 requires d3-color@1 - 2 via d3-interpolate@2.0.1
@swimlane/ngx-charts@20.1.0 requires d3-color@1 - 2 via d3-transition@2.0.0
No patched version available for d3-color The earliest fixed version is 3.1.0.
The d3-color module provides representations for various color spaces in the browser. 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.
Severity: High Weaknesses: CWE-400 CVE ID: No CVE
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Regular Expression Denial of Service (ReDoS) in d3-color
Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the rgb() and hrc() functions.
Read more >d3-color vulnerable to ReDoS · Issue #106 - GitHub
Is there any chance of an update to a less vulnerable version of d3-color? See the vulnerability report here.
Read more >Recent Vulnerability in d3-color () - Vulert
The most accurate and complete database of d3-color Vulnerabilities. Contain detailed information and remediation guidance ... d3-color vulnerable to ReDoS.
Read more >d3-color - npm
Even though your browser understands a lot about colors, it doesn't offer much help in manipulating colors through JavaScript. The d3-color ...
Read more >How do I fix these vulnerabilities? : r/webdev - Reddit
npm audit report d3-color <3.1.0 Severity: high d3-color vulnerable to ReDoS - https://github.com/advisories/GHSA-36jr-mh4h-2g58 fix ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Created a PR - https://github.com/swimlane/ngx-graph/pull/477
Please take a look into this issue urgently and update transitive dependency d3-color to 3.1.0