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/yetingli/SaveResults/blob/main/js/color-string.js
https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md
https://github.com/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3
https://www.npmjs.com/package/color-string
Related Vulnerabilities
CVE-2021-21344 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2022-43405 Vulnerability in maven package io.jenkins.plugins:pipeline-groovy-lib
CVE-2022-29214 Vulnerability in npm package next-auth
CVE-2020-6427 Vulnerability in maven package org.webjars.npm:electron
CVE-2023-51656 Vulnerability in maven package org.apache.iotdb:iotdb-server