UBUNTU-CVE-2021-23382

Source
https://ubuntu.com/security/CVE-2021-23382
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23382.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-23382
Upstream
Published
2021-04-26T16:15:00Z
Modified
2025-10-24T04:50:08Z
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 postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern \/*\s* sourceMappingURL=(.*).

References

Affected packages

Ubuntu:20.04:LTS / node-postcss

Package

Name
node-postcss
Purl
pkg:deb/ubuntu/node-postcss@6.0.23-3?arch=source&distro=focal

Affected ranges

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

Affected versions

6.*

6.0.23-1
6.0.23-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-postcss",
            "binary_version": "6.0.23-3"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23382.json"

Ubuntu:22.04:LTS / node-postcss

Package

Name
node-postcss
Purl
pkg:deb/ubuntu/node-postcss@8.4.6+~cs7.3.21-1?arch=source&distro=jammy

Affected ranges

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

Affected versions

8.*

8.2.1+~cs5.3.23-8
8.4.5+~cs7.1.51-2
8.4.6+~cs7.3.21-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-postcss",
            "binary_version": "8.4.6+~cs7.3.21-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23382.json"