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.
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Terser | Terser | * | 4.8.1 (excluding) |
Terser | Terser | 5.0.0 (including) | 5.14.2 (excluding) |
Red Hat Advanced Cluster Management for Kubernetes 2.4 for RHEL 8 | RedHat | rhacm2/search-ui-rhel8:v2.4.8-5 | * |
Red Hat Advanced Cluster Management for Kubernetes 2.6 for RHEL 8 | RedHat | rhacm2/console-rhel8:v2.6.2-18 | * |
Red Hat OpenShift Service Mesh 2.2 for RHEL 8 | RedHat | openshift-service-mesh/prometheus-rhel8:2.2.7-7 | * |
RHINT Service Registry 2.3.0 GA | RedHat | terser | * |
Chromium-browser | Ubuntu | trusty | * |
Chromium-browser | Ubuntu | upstream | * |
Chromium-browser | Ubuntu | xenial | * |
Node-terser | Ubuntu | impish | * |
Node-terser | Ubuntu | kinetic | * |
Node-terser | Ubuntu | lunar | * |
Node-terser | Ubuntu | mantic | * |
Qt6-webengine | Ubuntu | kinetic | * |
Qt6-webengine | Ubuntu | lunar | * |
Qt6-webengine | Ubuntu | mantic | * |
Attackers can create crafted inputs that
intentionally cause the regular expression to use
excessive backtracking in a way that causes the CPU
consumption to spike.