Closed mend-for-github-com[bot] closed 2 years ago
:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.
CVE-2021-23567 - High Severity Vulnerability
Vulnerable Library - colors-1.4.0.tgz
get colors in your node.js console
Library home page: https://registry.npmjs.org/colors/-/colors-1.4.0.tgz
Path to dependency file: /packages/optimizely-sdk/package.json
Path to vulnerable library: /packages/optimizely-sdk/node_modules/colors/package.json
Dependency Hierarchy: - karma-4.4.1.tgz (Root Library) - :x: **colors-1.4.0.tgz** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
The package colors after 1.4.0 are vulnerable to Denial of Service (DoS) that was introduced through an infinite loop in the americanFlag module. Unfortunately this appears to have been a purposeful attempt by a maintainer of colors to make the package unusable, other maintainers' controls over this package appear to have been revoked in an attempt to prevent them from fixing the issue. Vulnerable Code js for (let i = 666; i < Infinity; i++;) { Alternative Remediation Suggested * Pin dependancy to 1.4.0
Publish Date: 2022-01-14
URL: CVE-2021-23567
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.