question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

d3-color vulnerable to ReDoS

See original GitHub issue

Dependabot 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

https://github.com/advisories/GHSA-36jr-mh4h-2g58

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:3
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
assafsuncommented, Nov 17, 2022
1reaction
ashmeetkcommented, Oct 12, 2022

Please take a look into this issue urgently and update transitive dependency d3-color to 3.1.0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found