CVE-2025-5889

juliangruber brace-expansion index.js expand redos

State
Published
Severity
2.3 Low
Published
Jun 9, 2025
Updated
Jun 11, 2025
Reserved
Jun 9, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.02.3 LowCVSS: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:PVulDB
3.13.1 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CVulDB
3.03.1 LowCVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:CVulDB
2.02.1 LowAV:N/AC:H/Au:S/C:N/I:N/A:P/E:POC/RL:OF/RC:CVulDB

Weaknesses

  • CWE-1333 Inefficient Regular Expression Complexity
  • CWE-400 Resource Consumption

Affected Products

ProductVersions
brace-expansionjuliangruber
  • 1.1.0Affected
  • 1.1.1Affected
  • 1.1.2Affected
  • 1.1.3Affected
  • 1.1.4Affected
  • 1.1.5Affected
  • 1.1.6Affected
  • 1.1.7Affected
  • 1.1.8Affected
  • 1.1.9Affected
  • 1.1.10Affected
  • 1.1.11Affected
  • 2.0.0Affected
  • 2.0.1Affected
  • 3.0Affected
  • 4.0Affected
  • 1.1.12Not affected
  • 2.0.2Not affected
  • 3.0.1Not affected
  • 4.0.1Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.