CVE-2021-40892

Source
https://cve.org/CVERecord?id=CVE-2021-40892
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40892.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-40892
Published
2022-06-24T14:15:07.700Z
Modified
2026-07-09T05:45:05.874268Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in validate-color v2.1.0 when handling crafted invalid rgb(a) strings.

References

Affected packages

Git / github.com/dreamyguy/validate-color

Affected ranges

Type
GIT
Repo
https://github.com/dreamyguy/validate-color
Events
Database specific
{
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:validate_color_project:validate_color:2.1.0:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "2.1.0"
        },
        {
            "last_affected": "2.1.0"
        }
    ]
}

Affected versions

2.*
2.1.0
v2.*
v2.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40892.json"