CVE-2022-25858

Medium

Description

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductTerser
PublishedJul 15, 2022
First seenJul 15, 2022

How to fix

Update
  • terser terser4.8.1, 5.14.2 or later
  • terser4.8.1, 5.14.2 or later

Affected products

ProductAffected versionsFixed in
terser terserv < 4.8.1, 5.0.0 ≤ v < 5.14.24.8.1, 5.14.2
tersernpmv < 4.8.1, 5.0.0 ≤ v < 5.14.24.8.1, 5.14.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-25858 · Terser · Dark Radar