Advisory

GHSA-x5gf-qvw8-r2rm

Also known as: CVE-2025-5891

Summary

pm2 Regular Expression Denial of Service vulnerability

Details

A vulnerability classified as problematic was found in Unitech pm2 prior to 7.0.0. This vulnerability affects unknown code of the file /lib/tools/Config.js. The manipulation leads to inefficient regular expression complexity. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-06-09 21:30 UTC
Modified
2026-06-02 05:15 UTC

Affected packages and fixes

pm2

npm · All systems

Affected

  • introduced 0, fixed 7.0.0 (semver)

Fixed versions

7.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences