UBUNTU-CVE-2022-21222

Source
https://ubuntu.com/security/CVE-2022-21222
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21222.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-21222
Upstream
Downstream
Related
Published
2022-09-30T05:15:00Z
Modified
2026-02-04T04:11:29.683944Z
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 CVSS Calculator
  • 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
  • Ubuntu - medium
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

Ubuntu:Pro:16.04:LTS / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what@2.1.0-1ubuntu0.16.04.1~esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.0-1ubuntu0.16.04.1~esm1

Affected versions

2.*
2.0.2-1
2.1.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-css-what",
            "binary_version": "2.1.0-1ubuntu0.16.04.1~esm1"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21222.json"

Ubuntu:18.04:LTS / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what@2.1.0-1+deb10u1build0.18.04.1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.1.0-1+deb10u1build0.18.04.1

Affected versions

2.*
2.1.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-css-what",
            "binary_version": "2.1.0-1+deb10u1build0.18.04.1"
        }
    ],
    "availability": "No subscription required"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21222.json"

Ubuntu:Pro:20.04:LTS / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what@3.2.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.1-1ubuntu0.1~esm1

Affected versions

3.*
3.1.0-2
3.2.0-1
3.2.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-css-what",
            "binary_version": "3.2.1-1ubuntu0.1~esm1"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21222.json"

Ubuntu:24.04:LTS / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what@6.1.0-5?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.1.0-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-css-what",
            "binary_version": "6.1.0-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21222.json"

Ubuntu:25.10 / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what@6.1.0-5?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

6.*
6.1.0-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-css-what",
            "binary_version": "6.1.0-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-21222.json"