Vulnerability · Published Jul 1, 2022 · Assigned by snyk
CVE-2022-25758Regular Expression Denial of Service (ReDoS)
Medium 5.3
In plain English
A medium-severity security flaw in scss-tokenizer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)2.1%top 17.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu:22.04:LTS | node-node-sass | no fix listed | UBUNTU-CVE-2022-25758 |
| Ubuntu:24.04:LTS | node-node-sass | no fix listed | UBUNTU-CVE-2022-25758 |
| Ubuntu:25.10 | node-node-sass | no fix listed | UBUNTU-CVE-2022-25758 |
| Ubuntu:26.04:LTS | node-node-sass | no fix listed | UBUNTU-CVE-2022-25758 |
| Ubuntu:26.10 | node-node-sass | no fix listed | UBUNTU-CVE-2022-25758 |
| npm | scss-tokenizer | 0.4.3 | GHSA-7mwh-4pqv-wmr8 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | scss-tokenizer | 0 – before unspecified |
References
- https://snyk.io/vuln/SNYK-JS-SCSSTOKENIZER-2339884 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936782 x_refsource_MISC
- https://github.com/sasstools/scss-tokenizer/issues/45 x_refsource_MISC