juliangruber brace-expansion up to 1.1.11/2.0.1/3.0.0/4.0.0 index.js expand redos

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
2.9$0-$5k1.21

Summaryinfo

A vulnerability classified as problematic has been found in juliangruber brace-expansion up to 1.1.11/2.0.1/3.0.0/4.0.0. This affects the function expand of the file index.js. The manipulation leads to redos. This vulnerability is uniquely identified as CVE-2025-5889. It is possible to initiate the attack remotely. Furthermore, there is an exploit available. It is recommended to upgrade the affected component. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Detailsinfo

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 with an unknown input leads to a redos vulnerability. Using CWE to declare the problem leads to CWE-1333. The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. Impacted is availability.

The advisory is shared for download at gist.github.com. This vulnerability is handled as CVE-2025-5889. The exploitation is known to be difficult. The attack may be launched remotely. Technical details as well as a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1449.003.

The exploit is available at gist.github.com. It is declared as proof-of-concept.

Upgrading to version 1.1.12, 2.0.2, 3.0.1 or 4.0.1 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch a5b98a4f30d7813266b221435e1eaaf25a1b0ac5 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2025-17567). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 3.1
VulDB Meta Temp Score: 2.9

VulDB Base Score: 3.1
VulDB Temp Score: 2.8
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 3.1
CNA Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Redos
CWE: CWE-1333 / CWE-400 / CWE-404
CAPEC: 🔒
ATT&CK: 🔒

Local: No
Remote: Yes

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: brace-expansion 1.1.12/2.0.2/3.0.1/4.0.1
Patch: a5b98a4f30d7813266b221435e1eaaf25a1b0ac5

Timelineinfo

06/09/2025 Advisory disclosed
06/09/2025 +0 days VulDB entry created
06/11/2025 +2 days VulDB entry last update

Sourcesinfo

Advisory: gist.github.com
Status: Confirmed

CVE: CVE-2025-5889 (🔒)
GCVE (CVE): GCVE-0-2025-5889
GCVE (VulDB): GCVE-100-311660
EUVD: 🔒
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 06/09/2025 08:24 AM
Updated: 06/11/2025 03:08 PM
Changes: 06/09/2025 08:24 AM (61), 06/09/2025 08:20 PM (3), 06/10/2025 11:27 AM (1), 06/11/2025 12:33 PM (1), 06/11/2025 12:37 PM (3), 06/11/2025 03:08 PM (31)
Complete: 🔍
Submitter: mmmsssttt
Committer: tgerbet_enalean
Cache ID: 18:97E:40

Submitinfo

Accepted

  • Submit #585717: juliangruber @juliangruber/brace-expansion 1.1.11 Inefficient Regular Expression Complexity (by mmmsssttt)

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!