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.test.osv.dev/v1/vulns/UBUNTU-CVE-2022-21222
Related
Published
2022-09-30T05:15:00Z
Modified
2024-10-15T14:09:42Z
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

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

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what?arch=src?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

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

Ubuntu:18.04:LTS / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what?arch=src?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

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

Ubuntu:20.04:LTS / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what?arch=src?distro=focal

Affected ranges

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

Affected versions

3.*

3.1.0-2
3.2.0-1
3.2.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what?arch=src?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

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

Ubuntu:22.04:LTS / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what?arch=src?distro=jammy

Affected ranges

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

Affected versions

4.*

4.0.0-3

5.*

5.1.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.1.0-2",
            "binary_name": "node-css-what"
        }
    ]
}

Ubuntu:24.10 / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what?arch=src?distro=oracular

Affected ranges

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

Affected versions

6.*

6.1.0-5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / node-css-what

Package

Name
node-css-what
Purl
pkg:deb/ubuntu/node-css-what?arch=src?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

{
    "ubuntu_priority": "medium"
}