Versio.io

CVE-2021-23567

Common vulnerabilities & exposures (CVE)

CVE databaseCVE database blogpostRelease & EoL database
 
Published at: - 14-01-2022 09:15
Last modified: - 21-01-2022 08:08
Total changes: - 2

Description

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

Common Vulnerability Scoring System (CVSS)

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Low
Attack complexity
Network
Attack vector
High
Availability
None
Confidentiality
None
Integrity
None
Privileges required
Unchanged
Scope
None
User interaction
7.5
Base score
3.9
3.6
Exploitability score
Impact score
 

Verification logic

OR
vendor=colors.js_project AND product=colors.js AND version=1.4.1 AND target_software=node.js
vendor=colors.js_project AND product=colors.js AND version=1.4.44-liberty-2 AND target_software=node.js
 

Reference

  • N/A-Exploit, Mitigation, Third Party Advisory
  • N/A-Exploit, Third Party Advisory
  • N/A-Patch, Third Party Advisory
  • N/A-Exploit, Issue Tracking, Third Party Advisory
  • N/A-Exploit, Issue Tracking, Third Party Advisory
 


Keywords

NVD

 

CVE-2021-23567

 

CVE

 

Common vulnerabilities & exposures

 

CVSS

 

Common vulnerability scoring system

 

Security

 

Vulnerabilities

 

Exposures

 

We use cookies to ensure that we give you the best experience on our website. Read privacy policies for more information.