CVE-2021-23567

Published on: 01/14/2022 12:00:00 AM UTC

Last Modified on: 01/14/2022 09:37:00 PM UTC

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

The following vulnerability was found:

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

CVE References

Description Tags Link
Zalgo issue with `v1.4.44-liberty-2` release · Issue #285 · Marak/colors.js · GitHub github.com
text/html
URL Logo MISC github.com/Marak/colors.js/issues/285%23issuecomment-1008212640
Denial of Service (DoS) in colors | CVE-2021-23567 | Snyk snyk.io
text/html
URL Logo MISC snyk.io/vuln/SNYK-JS-COLORS-2331906
Adds new American flag module · Marak/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/Marak/colors.js/commit/074a0f8ed0c31c35d13d28632bd8a049ff136fb6%23diff-92bbac9a308cd5fcf9db165841f2d90ce981baddcb2b1e26cfff170929af3bd1R18
Zalgo issue with `v1.4.44-liberty-2` release · Issue #285 · Marak/colors.js · GitHub github.com
text/html
URL Logo MISC github.com/Marak/colors.js/issues/285
Open source maintainer pulls the plug on npm packages colors and faker, now what? | Snyk snyk.io
text/html
URL Logo MISC snyk.io/blog/open-source-maintainer-pulls-the-plug-on-npm-packages-colors-and-faker-now-what/

Discovery Credit

Unknown

Social Mentions

Source Title Posted (UTC)
Twitter Icon @CVEreport CVE-2021-23567 : The package colors after 1.4.0 are vulnerable to Denial of Service #DoS that was introduced thro… twitter.com/i/web/status/1… 2022-01-14 20:12:06
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report