CVE-2022-21222

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-21222
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-21222.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-21222
Aliases
Related
Published
2022-09-30T05:15:08Z
Modified
2024-10-12T08:55:28.133956Z
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

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.

References

Affected packages

Debian:11 / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/debian/node-css-what?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.0-3+deb11u1

Affected versions

4.*

4.0.0-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/debian/node-css-what?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/debian/node-css-what?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.0.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

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

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