Read the docs
TI-2022-09424 Aliases CVE-2022-25858GHSA-4wf5-vphf-c2xc

Regular expression denial of service (ReDoS) in terser

Priority LOW 39CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 fixed, 18 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.

Why it matters now

EPSS 0.03253 88th percentileScored 2026-11-07
Fix Partial terser: 4.8.1, 5.14.2terser (npm): 4.8.1, 5.14.2Red Hat: 4 advisoriesRed Hat: 2 fixed, 18 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—terserbefore 4.8.1; 5.0.0 and later; before 5.14.24.8.1, 5.14.2Patch availableCNA
—terser (npm)before 4.8.14.8.1Patch availableGHSA-4wf5-vphf-c2xc
—terser (npm)5.0.0 to before 5.14.25.14.2Patch availableGHSA-4wf5-vphf-c2xc
  • terser Vendor— Affected before 4.8.1; 5.0.0 and later; before 5.14.2 Fixed in 4.8.1, 5.14.2 Patch available CNA
  • terser (npm) Vendor— Affected before 4.8.1 Fixed in 4.8.1 Patch available GHSA-4wf5-vphf-c2xc
  • terser (npm) Vendor— Affected 5.0.0 to before 5.14.2 Fixed in 5.14.2 Patch available GHSA-4wf5-vphf-c2xc

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:terser:terser:*:*:*:*:*:node.js:*:*before 4.8.1; 5.0.0 to before 5.14.2VulnerableTerser
  • cpe:2.3:a:terser:terser:*:*:*:*:*:node.js:*:* Versions before 4.8.1; 5.0.0 to before 5.14.2 Vulnerable ·Terser

Remediation

  • Fix · CNA terser Fixed in 4.8.1, 5.14.2
  • Fix · GHSA-4wf5-vphf-c2xc terser (npm) Fixed in 4.8.1 Advisory →
  • Fix · GHSA-4wf5-vphf-c2xc terser (npm) Fixed in 5.14.2 Advisory →

Red Hat 4 advisories

  • RHSA-2023:3645 Released 2023-06-15 · Red Hat rating Moderate
    Red Hat OpenShift Service Mesh 2.2.7 security update
    • RHOSSM 2.2 for RHEL 8 openshift-service-mesh/prometheus-rhel8
  • RHSA-2022:7313 Released 2022-11-02 · Red Hat rating Moderate
    Red Hat Advanced Cluster Management 2.6.2 security update and bug fixes
    • Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8 rhacm2/acm-governance-policy-addon-controller-rhel8, rhacm2/acm-grafana-rhel8, rhacm2/acm-must-gather-rhel8 +45
  • RHSA-2022:7276 Released 2022-11-01 · Red Hat rating Moderate
    Red Hat Advanced Cluster Management 2.4.8 security fixes and container updates
    • Red Hat Advanced Cluster Management for Kubernetes 2.4 for RHEL 8 rhacm2/acm-grafana-rhel8, rhacm2/acm-must-gather-rhel8, rhacm2/acm-operator-bundle +47
Show 1 more Red Hat advisories
  • RHSA-2022:6835 Released 2022-10-06 · Red Hat rating Important
    Service Registry (container images) release and security update [2.3.0.GA]
    • RHINT Service Registry 2.3.0 GA

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Migration Toolkit for ContainersAffectedNo fix planned: Will not fix
Migration Toolkit for VirtualizationAffectedNo fix yet: Fix deferred
OpenShift Service Mesh 2AffectedNo fix planned: Will not fix
OpenShift Service Mesh 2.0AffectedNo fix yet
OpenShift Service Mesh 2.1AffectedNo fix planned: Will not fix
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 9AffectedNo fix planned: Will not fix
Red Hat Fuse 7AffectedNo fix planned: Will not fix
Red Hat Integration Service RegistryAffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform 6AffectedNo fix planned: Out of support scope
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
Red Hat OpenShift Dev SpacesAffectedNo fix planned: Will not fix
Red Hat OpenShift distributed tracing 2AffectedNo fix yet
Red Hat Openshift Data Foundation 4AffectedNo fix planned: Will not fix
Red Hat Quay 3AffectedNo fix planned: Will not fix
Red Hat Satellite 6AffectedNo fix yet
Red Hat Virtualization 4AffectedNo fix planned: Will not fix
RHINT Service Registry 2.3.0 GAFixed RHSA-2022:6835
RHOSSM 2.2 for RHEL 8Fixed RHSA-2023:3645
Not affected: 13 products
  • Logging Subsystem for Red Hat OpenShift
  • OpenShift Developer Tools and Services
  • RHOSSM 2.2 for RHEL 8
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat Ansible Automation Platform 2
  • Red Hat Data Grid 8
  • Red Hat Decision Manager 7
  • Red Hat Integration Camel K 1
  • Red Hat JBoss Enterprise Application Platform 7
  • Red Hat JBoss Enterprise Application Platform Expansion Pack
  • Red Hat OpenShift GitOps
  • Red Hat OpenShift distributed tracing 2
  • Red Hat Process Automation 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-25858
  2. 2026-10-03 Alias added: GHSA-4wf5-vphf-c2xc

References

Sources