CVE-2022-25758Regular Expression Denial of Service (ReDoS)
All versions of package scss-tokenizer are vulnerable to Regular Expression Denial of Service (ReDoS) via the loadAnnotation() function, due to the usage of insecure regex.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-node-sass | Fix pending | UBUNTU-CVE-2022-25758 | |
| Ubuntu 26.04 | node-node-sass | Under investigation | UBUNTU-CVE-2022-25758 | |
| Ubuntu 25.10 | node-node-sass | Will not fix node-node-sass contains an embedded copy of scss-tokenizer | UBUNTU-CVE-2022-25758 | |
| Ubuntu 24.04 | node-node-sass | Under investigation | UBUNTU-CVE-2022-25758 | |
| Ubuntu 22.04 | node-node-sass | Under investigation | UBUNTU-CVE-2022-25758 | |
| Ubuntu 20.04 | node-node-sass | Will not fix node-node-sass contains an embedded copy of scss-tokenizer | UBUNTU-CVE-2022-25758 | |
| Red Hat Enterprise Linux 8 | 389-ds-base | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-legacy-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-snmp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | cockpit-389-ds | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | cockpit-podman | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | python3-lib389 | Will not fix Will not fix | ||
| npm library | scss-tokenizer | Fixed | 0.4.3 | GHSA-7mwh-4pqv-wmr8 |
What the vendor says
As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- scss-tokenizer: affected: before unspecified
References
- https://snyk.io/vuln/SNYK-JS-SCSSTOKENIZER-2339884
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936782
- https://github.com/sasstools/scss-tokenizer/issues/45
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.