cve.bz

CVE-2022-25758 scss-tokenizer project scss-tokenizer

7.5 highExploit referenceEPSS 2.2%Fix available

High (7.5) in scss-tokenizer project scss-tokenizer. EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in scss-tokenizer 0.4.3.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.2% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • scss-tokenizer (npm): fixed in 0.4.3

Ask an AI about this CVE

Show the promptExplain CVE-2022-25758 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-25758?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-25758?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-25758 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7mwh-4pqv-wmr8npmscss-tokenizer<0.4.30.4.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 morenode-node-sassno fix listedUBUNTU-CVE-2022-25758

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In OpenShift Service Mesh (OSSM) the vulnerable scss-tokenizer nodejs package is shipped in openshift-service-mesh/kiali-rhel8 and openshift-service-mesh/grafana-rhel8 container images.

In the openshift-service-mesh/grafana-rhel8, the scss-tokenizer nodejs package is shipped as a part of the grafana rpm package, which is consumed from Red Hat Enterprise Linux (RHEL) repositories starting from OSSM 2.0.9 version. Once this vulnerability will be fixed in RHEL product, fixed version of grafana package will be consumed by OSSM and delivered in the next OSSM releases. In older versions than OSSM 2.0.9 the openshift-service-mesh/grafana-rhel8 container contains servicemesh-grafana rpm package from OSSM repositories and these versions are not supported anymore, hence the servicemesh-grafana rpm package is listed as affected with "Will not fix" state.

In OSSM openshift-service-mesh/kiali-rhel8 container image, the scss-tokenizer nodejs package is only listed as a development dependency, without impact to the runtime environment, hence is marked as "Will not fix".

ProductPackageStateAdvisory
OpenShift Service Mesh 2openshift-service-mesh/kiali-rhel8Will not fix
OpenShift Service Mesh 2.0servicemesh-grafanaWill not fix
OpenShift Service Mesh 2.1openshift-service-mesh/kiali-rhel8Will not fix
OpenShift Service Mesh 2.1servicemesh-grafanaAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/application-ui-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/grc-ui-rhel8Not affected
Red Hat Ceph Storage 4cockpit-ceph-installerAffected
Red Hat Decision Manager 7scss-tokenizerOut of support scope
Red Hat Enterprise Linux 8389-ds:1.4/389-ds-baseWill not fix
Red Hat Enterprise Linux 8cockpit-podmanNot affected
Red Hat Enterprise Linux 8grafanaWill not fix
Red Hat Fuse 7scss-tokenizerWill not fix
Red Hat OpenShift Container Platform 3.11openshift3/ose-consoleWill not fix
Red Hat OpenShift Container Platform 4openshift4/ose-consoleWill not fix
Red Hat Openshift Data Foundation 4odf4/odf-console-rhel9Affected
Red Hat Openshift Data Foundation 4odf4/odf-multicluster-console-rhel9Affected
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel8Affected
Red Hat Process Automation 7scss-tokenizerOut of support scope
Red Hat Satellite 6tfm-rubygem-rablNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-25758.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON