CVE-2025-5889 PUBLISHED

juliangruber brace-expansion index.js expand redos

Assigner: VulDB
Reserved: 09.06.2025 Published: 09.06.2025 Updated: 11.06.2025

A vulnerability was found in juliangruber brace-expansion up to 1.1.11/2.0.1/3.0.0/4.0.0. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 1.1.12, 2.0.2, 3.0.1 and 4.0.1 is able to address this issue. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to upgrade the affected component.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
CVSS Score: 2.3

Product Status

Vendor juliangruber
Product brace-expansion
Versions
  • Version 1.1.0 is affected
  • Version 1.1.1 is affected
  • Version 1.1.2 is affected
  • Version 1.1.3 is affected
  • Version 1.1.4 is affected
  • Version 1.1.5 is affected
  • Version 1.1.6 is affected
  • Version 1.1.7 is affected
  • Version 1.1.8 is affected
  • Version 1.1.9 is affected
  • Version 1.1.10 is affected
  • Version 1.1.11 is affected
  • Version 2.0.0 is affected
  • Version 2.0.1 is affected
  • Version 3.0 is affected
  • Version 4.0 is affected
  • Version 1.1.12 is unaffected
  • Version 2.0.2 is unaffected
  • Version 3.0.1 is unaffected
  • Version 4.0.1 is unaffected

Credits

  • mmmsssttt (VulDB User) reporter
  • tgerbet_enalean (VulDB User) analyst

References

Problem Types

  • Inefficient Regular Expression Complexity CWE
  • Resource Consumption CWE