~ / search / GHSA-4wf5-vphf-c2xc

GHSA-4wf5-vphf-c2xc

Terser insecure use of regular expressions leads to ReDoS

Source: GitHub Advisory Database (reviewed) High CVE-2022-25858

Packages

EcosystemPackageAffectedFixed in
npm terser < 4.8.1 4.8.1
npm terser >= 5.0.0, < 5.14.2 5.14.2

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.