CVE-2022-21222

Source
https://cve.org/CVERecord?id=CVE-2022-21222
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21222.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21222
Aliases
Downstream
Published
2022-09-30T05:05:11.059Z
Modified
2026-07-15T01:49:21.192991723Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P CVSS Calculator
Summary
Regular Expression Denial of Service (ReDoS)
Details

The package css-what before 2.1.3 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the usage of insecure regular expression in the re_attr variable of index.js. The exploitation of this vulnerability could be triggered via the parse function.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21222.json",
    "cna_assigner": "snyk"
}
References

Affected packages

Git / github.com/fb55/css-what

Affected ranges

Type
GIT
Repo
https://github.com/fb55/css-what
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:css-what_project:css-what:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.1.3"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

v0.*
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.4.7
v2.*
v2.0.0
v2.0.1
v2.0.2
v2.1.0
v2.1.2

Database specific

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