CVE-2025-5891

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.
References
Link Resource
https://gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385 Product
https://github.com/Unitech/pm2/pull/5971 Exploit Issue Tracking Patch
https://vuldb.com/?ctiid.311662 Permissions Required VDB Entry
https://vuldb.com/?id.311662 Third Party Advisory VDB Entry
https://vuldb.com/?submit.585750 Third Party Advisory VDB Entry
https://github.com/Unitech/pm2/pull/5971 Exploit Issue Tracking Patch
Configurations

Configuration 1 (hide)

cpe:2.3:a:keymetric:pm2:*:*:*:*:*:*:*:*

History

10 Jul 2025, 16:24

Type Values Removed Values Added
CPE cpe:2.3:a:keymetric:pm2:*:*:*:*:*:*:*:*
First Time Keymetric
Keymetric pm2
References () https://gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385 - () https://gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385 - Product
References () https://github.com/Unitech/pm2/pull/5971 - () https://github.com/Unitech/pm2/pull/5971 - Exploit, Issue Tracking, Patch
References () https://vuldb.com/?ctiid.311662 - () https://vuldb.com/?ctiid.311662 - Permissions Required, VDB Entry
References () https://vuldb.com/?id.311662 - () https://vuldb.com/?id.311662 - Third Party Advisory, VDB Entry
References () https://vuldb.com/?submit.585750 - () https://vuldb.com/?submit.585750 - Third Party Advisory, VDB Entry

12 Jun 2025, 16:06

Type Values Removed Values Added
Summary
  • (es) Se detectó una vulnerabilidad clasificada como problemática en Unitech pm2 hasta la versión 6.0.6. Esta vulnerabilidad afecta al código desconocido del archivo /lib/tools/Config.js. La manipulación genera una complejidad ineficiente en las expresiones regulares. El ataque puede iniciarse en remoto. Se ha hecho público el exploit y puede que sea utilizado.

09 Jun 2025, 20:15

Type Values Removed Values Added
References () https://github.com/Unitech/pm2/pull/5971 - () https://github.com/Unitech/pm2/pull/5971 -

09 Jun 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-09 19:15

Updated : 2025-07-10 16:24


NVD link : CVE-2025-5891

Mitre link : CVE-2025-5891

CVE.ORG link : CVE-2025-5891


JSON object : View

Products Affected

keymetric

  • pm2
CWE
CWE-400

Uncontrolled Resource Consumption

CWE-1333

Inefficient Regular Expression Complexity