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 | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
2.9 | $0-$5k | 1.21 |
Summary
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.
Details
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.
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 3.1VulDB 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: 🔒
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: RedosCWE: 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-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: brace-expansion 1.1.12/2.0.2/3.0.1/4.0.1
Patch: a5b98a4f30d7813266b221435e1eaaf25a1b0ac5
Timeline
06/09/2025 Advisory disclosed06/09/2025 VulDB entry created
06/11/2025 VulDB entry last update
Sources
Advisory: gist.github.comStatus: 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
Entry
Created: 06/09/2025 08:24 AMUpdated: 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
Submit
Accepted
- Submit #585717: juliangruber @juliangruber/brace-expansion 1.1.11 Inefficient Regular Expression Complexity (by mmmsssttt)
No comments yet. Languages: en.
Please log in to comment.