CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in terser terser. EPSS 3.3% estimated probability of exploitation activity in the next 30 days. Fixed in terser 4.8.1, 5.14.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hterser (npm): fixed in 4.8.1, 5.14.2Explain CVE-2022-25858 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-25858?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-25858?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-25858 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| terser:terser | before 4.8.1 |
| terser:terser | from 5.0.0 before 5.14.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4wf5-vphf-c2xc | npm | terser | <4.8.1 | 4.8.1 |
| GHSA-4wf5-vphf-c2xc | npm | terser | >=5.0.0 <5.14.2 | 5.14.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | node-terser | 4.8.1-1 | DEBIAN-CVE-2022-25858 |
| Ubuntu | 20.04:LTS | node-terser | no fix listed | UBUNTU-CVE-2022-25858 |
| Ubuntu | 22.04:LTS, 24.04:LTS, 25.10 and 2 more | node-terser, qt6-webengine | no fix listed | UBUNTU-CVE-2022-25858 |
| Azure Linux | 3 | js-jquery | no fix listed | AZL-44553 |
| Azure Linux | 3 | uglify-js | 3.19.3-11 | AZL-44460 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Moderate.
For OpenShift Do (odo) product terser is shipped only for using in static page generators for upstream, thus this represents no security risk.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift Service Mesh 2.2 for RHEL 8 | openshift-service-mesh/prometheus-rhel8:2.2.7-7 | Fixed 2023-06-15 | RHSA-2023:3645 |
| RHINT Service Registry 2.3.0 GA | terser | Fixed 2022-10-06 | RHSA-2022:6835 |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/kibana6-rhel8 | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-ui-rhel8 | Will not fix | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-ui-rhel8 | Fix deferred | |
| OpenShift Developer Tools and Services | odo | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-rhel8 | Will not fix | |
| OpenShift Service Mesh 2.0 | openshift-service-mesh/kiali-rhel8 | Affected | |
| OpenShift Service Mesh 2.0 | servicemesh-grafana | Affected | |
| OpenShift Service Mesh 2.0 | servicemesh-prometheus | Affected | |
| OpenShift Service Mesh 2.1 | openshift-service-mesh/kiali-rhel8 | Will not fix | |
| OpenShift Service Mesh 2.1 | servicemesh-grafana | Will not fix | |
| OpenShift Service Mesh 2.1 | servicemesh-prometheus | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/application-ui-rhel8 | Not affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-rhel8 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/grc-ui-rhel8 | Will not fix | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/kui-web-terminal-rhel8 | Out of support scope | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/search-ui-rhel8 | Affected | |
| Red Hat Ansible Automation Platform 2 | aap-azure-ui | Not affected | |
| Red Hat Data Grid 8 | terser | Not affected | |
| 22 more in the JSON and on Red Hat's page. | |||
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-25858.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.