Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Remote, low complexity, no privileges, no user interaction, only availability impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
8DescriptionCVE.org
A vulnerability classified as problematic was found in Unitech pm2 up to 6.0.6. 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.
AnalysisAI
Inefficient regular expression complexity in Unitech pm2 up to 6.0.6 allows remote attackers to cause a denial of service via crafted input to the Config.js file. A publicly available exploit exists, but no active exploitation has been confirmed. EPSS score is low (0.12%), indicating limited exploitation likelihood.
Technical ContextAI
The vulnerability resides in the Config.js file of pm2, a popular Node.js process manager. The issue is a Regular Expression Denial of Service (ReDoS) attack, classified under CWE-400 (Uncontrolled Resource Consumption). The affected code uses a regex to split configuration values, which can be forced into catastrophic backtracking with a specially crafted long string, leading to excessive CPU consumption. The CPE string cpe:2.3:a:keymetric:pm2:*:*:*:*:*:*:*:* indicates the product is pm2 by Keymetric, though pm2 is commonly associated with Unitech. The vulnerability affects versions 6.0.0 through 6.0.6.
RemediationAI
Upgrade to pm2 version 6.0.7 or later, which includes the fix from pull request #5971. The patch modifies the regex in Config.js to prevent catastrophic backtracking. No workarounds are documented; however, restricting access to the configuration endpoint or input validation could mitigate the risk. The advisory is available at https://github.com/Unitech/pm2/pull/5971.
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-17577
GHSA-x5gf-qvw8-r2rm