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 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 | focal | * |
| Node-terser | Ubuntu | impish | * |
| Node-terser | Ubuntu | kinetic | * |
| Node-terser | Ubuntu | lunar | * |
| Node-terser | Ubuntu | mantic | * |
| Node-terser | Ubuntu | oracular | * |
| Node-terser | Ubuntu | plucky | * |
| Qt6-webengine | Ubuntu | kinetic | * |
| Qt6-webengine | Ubuntu | lunar | * |
| Qt6-webengine | Ubuntu | mantic | * |
| Qt6-webengine | Ubuntu | oracular | * |
| Qt6-webengine | Ubuntu | plucky | * |
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.