Vulnerability Description
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in validate-color v2.1.0 when handling crafted invalid rgb(a) strings.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Validate Color Project | Validate Color | 2.1.0 |
Related Weaknesses (CWE)
References
- https://github.com/yetingli/SaveResults/blob/main/js/validate-color.jsExploitThird Party Advisory
- https://github.com/yetingli/SaveResults/blob/main/js/validate-color.jsExploitThird Party Advisory
FAQ
What is CVE-2021-40892?
CVE-2021-40892 is a vulnerability with a CVSS score of 7.5 (HIGH). A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in validate-color v2.1.0 when handling crafted invalid rgb(a) strings.
How severe is CVE-2021-40892?
CVE-2021-40892 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-40892?
Check the references section above for vendor advisories and patch information. Affected products include: Validate Color Project Validate Color.