Skip to content
Heist/ feed
Back to feed
Low

Unitech pm2 Config.js redos

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-5891
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:14 UTC · Revision 1

Source evidence

Unitech pm2 Config.js redos

core-osv · Original source

Published 9 Jun 2025, 19:00 UTC

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.

osv:CVE-2025-5891
Complete source record
{
  "id": "1c49bd3c12e4867e08041659f16897a7d4fdb9b044464a1b7dd9cda0b1f36c53",
  "url": "https://osv.dev/vulnerability/CVE-2025-5891",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Unitech pm2 Config.js redos",
    "summary": "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.",
    "evidence": "osv:CVE-2025-5891",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-5891",
      "aliases": [
        "CVE-2025-5891",
        "GHSA-x5gf-qvw8-r2rm"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/unitech/pm2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e88553986d7af15a4ce9307b3bc743e95f2655dd"
                },
                {
                  "last_affected": "e71120a5172e87f509563f2542942458b115783a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "6.0.5"
                      },
                      {
                        "last_affected": "6.0.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "6.0.6"
                      },
                      {
                        "last_affected": "6.0.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:keymetric:pm2:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "6.0.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "6.0.5",
            "6.0.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5891.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.984268784Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5891.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-5891",
        "https://vuldb.com/?id.311662",
        "https://vuldb.com/?submit.585750",
        "https://github.com/Unitech/pm2/pull/5971",
        "https://vuldb.com/?ctiid.311662",
        "https://gist.github.com/mmmsssttt404/407e2ffe3e0eaa393ad923a86316a385"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333",
          "CWE-400"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0.0"
                  },
                  {
                    "last_affected": "6.0.0"
                  },
                  {
                    "introduced": "6.0.1"
                  },
                  {
                    "last_affected": "6.0.1"
                  },
                  {
                    "introduced": "6.0.2"
                  },
                  {
                    "last_affected": "6.0.2"
                  },
                  {
                    "introduced": "6.0.3"
                  },
                  {
                    "last_affected": "6.0.3"
                  },
                  {
                    "introduced": "6.0.4"
                  },
                  {
                    "last_affected": "6.0.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5891.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-5891",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521688,
  "published_at": "2025-06-09T19:00:16.482+00:00"
}