Description
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Color-String version 1.5.5 and below which occurs when the application is provided and checks a crafted invalid HWB string.
Remediation
References
https://github.com/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3
https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md
https://github.com/yetingli/SaveResults/blob/main/js/color-string.js
https://www.npmjs.com/package/color-string
Related Vulnerabilities
CVE-2021-21174 Vulnerability in npm package electron
CVE-2013-7370 Vulnerability in maven package org.webjars.npm:connect
CVE-2021-39152 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2022-48285 Vulnerability in maven package org.webjars.bowergithub.stuk:jszip
CVE-2022-39944 Vulnerability in maven package org.apache.linkis:linkis-engineplugin-jdbc