Vulnerability identifier: #VU63700
Vulnerability risk: Medium
CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2021-29060
CWE-ID:
CWE-185
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
color-string
Web applications /
JS libraries
Vendor: Qix
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient input validation when the application is provided and checks a crafted invalid HWB string. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.
Mitigation
Install update from vendor's website.
Vulnerable software versions
color-string: 0.3.0 - 1.5.5
External links
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
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.