brace-expansion Regular Expression Denial of Service vulnerability #24

Closed
opened 2025-06-11 02:58:40 +00:00 by martinr92 · 0 comments
martinr92 commented 2025-06-11 02:58:40 +00:00 (Migrated from gitlab.com)

⚠️ dependabot-gitlab has detected security vulnerability for brace-expansion in path: /, manifest_file: /package.json but was unable to update it! ⚠️

Package Severity Affected versions Patched versions IDs
brace-expansion (NPM) LOW >= 2.0.1, <= 4.0.0 GHSA-v6h2-p8h4-qcjw,CVE-2025-5889

Description

A vulnerability was found in juliangruber brace-expansion up to 1.1.11. 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. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to apply a patch to fix this issue.

References

⚠️ `dependabot-gitlab` has detected security vulnerability for `brace-expansion` in path: `/`, manifest_file: `/package.json` but was unable to update it! ⚠️ * https://github.com/advisories/GHSA-v6h2-p8h4-qcjw | Package | Severity | Affected versions | Patched versions | IDs | |-----------------------|----------|--------------------|------------------|---------------------------------------| | brace-expansion (NPM) | LOW | >= 2.0.1, <= 4.0.0 | | `GHSA-v6h2-p8h4-qcjw`,`CVE-2025-5889` | # Description A vulnerability was found in juliangruber brace-expansion up to 1.1.11. 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. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to apply a patch to fix this issue. # References * https://nvd.nist.gov/vuln/detail/CVE-2025-5889 * https://github.com/juliangruber/brace-expansion/pull/65/commits/a5b98a4f30d7813266b221435e1eaaf25a1b0ac5 * https://gist.github.com/mmmsssttt404/37a40ce7d6e5ca604858fe30814d9466 * https://vuldb.com/?ctiid.311660 * https://vuldb.com/?id.311660 * https://vuldb.com/?submit.585717 * https://github.com/advisories/GHSA-v6h2-p8h4-qcjw
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
marty-media/server#24
No description provided.