CVE-2025-5891: Unitech pm2 Config.js redos
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.
Other sources
A vulnerability classified as problematic was found in Unitech pm2 up to 6.0.8. 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.
— GitHub
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5891?
CVE-2025-5891 is classified as a problematic vulnerability.
How does CVE-2025-5891 affect Unitech pm2?
CVE-2025-5891 affects the regular expression complexity in the /lib/tools/Config.js file of Unitech pm2.
Can CVE-2025-5891 be exploited remotely?
Yes, the exploit for CVE-2025-5891 can be initiated remotely.
What versions of pm2 are affected by CVE-2025-5891?
CVE-2025-5891 affects Unitech pm2 versions up to and including 6.0.6.
What is the best way to mitigate CVE-2025-5891?
The best way to mitigate CVE-2025-5891 is to upgrade to a version of pm2 that is not affected.