Skip to content
Fencer Vulns
medium 5.3

CVE-2022-25758 json

Regular Expression Denial of Service (ReDoS)

published 2022-07-01 4 y ago modified 2026-06-17 4 mo ago also GHSA-7mwh-4pqv-wmr8 , EUVD-2022-6284

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 82%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm scss-tokenizer 0.4.3

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-25758 updated cvss 5.3

scss-tokenizer: Regular expression denial of service in scss-tokenizer

  • Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8 Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-grafana-prometheus
    affected: no fix planned “Will not fix”
  • Red Hat OpenShift Service Mesh 2.1 servicemesh-grafana, openshift-service-mesh/kiali-rhel8
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat Ceph Storage 4 cockpit-ceph-installer
    affected: no fix available
  • Red Hat Decision Manager 7 scss-tokenizer
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 grafana, 389-ds-base, grafana-loki, grafana-mssql, grafana-mysql, cockpit-389-ds, +14 more Red Hat Fuse 7 scss-tokenizer Red Hat OpenShift Container Platform 3.11 openshift3/ose-console Red Hat OpenShift Container Platform 4 openshift4/ose-console
    affected: no fix planned “Will not fix”
  • Red Hat Openshift Data Foundation 4 odf4/odf-console-rhel9, odf4/odf-multicluster-console-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8
    affected: no fix available
  • Red Hat Process Automation 7 scss-tokenizer
    affected: no fix planned “Out of support scope”
  • Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/grc-ui-rhel8, rhacm2/application-ui-rhel8 Red Hat Enterprise Linux 8 cockpit-podman Red Hat Satellite 6 tfm-rubygem-rabl
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.14% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • snyk.io https://snyk.io/vuln/SNYK-JS-SCSSTOKENIZER-2339884 referenced PoC, tagged "exploit" by a source, unverified
  • snyk.io https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2936782 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/sasstools/scss-tokenizer/issues/45 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
npm scss-tokenizer
<0.4.3
0.4.3

Affected products

  • n/a scss-tokenizer

Classification

Weakness
  • CWE-1333 Inefficient Regular Expression Complexity

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.