CVE-2025-5889

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-5889
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-5889.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-5889
Aliases
Related
Published
2025-06-09T19:15:25Z
Modified
2025-06-17T05:53:54.345102Z
Downstream
Summary
[none]
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 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.

References

Affected packages

Debian:11 / node-brace-expansion

Package

Name
node-brace-expansion
Purl
pkg:deb/debian/node-brace-expansion?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.0-1
2.0.1-1
2.0.1-2
2.0.1+~1.1.0-1
2.0.1+~1.1.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / node-brace-expansion

Package

Name
node-brace-expansion
Purl
pkg:deb/debian/node-brace-expansion?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.0.1-2
2.0.1+~1.1.0-1
2.0.1+~1.1.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / node-brace-expansion

Package

Name
node-brace-expansion
Purl
pkg:deb/debian/node-brace-expansion?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.1+~1.1.0-2

Affected versions

2.*

2.0.1-2
2.0.1+~1.1.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/juliangruber/brace-expansion

Affected ranges

Type
GIT
Repo
https://github.com/juliangruber/brace-expansion
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.1.11

v1.*

v1.0.0
v1.0.1
v1.1.0
v1.1.1
v1.1.10
v1.1.11
v1.1.2
v1.1.3
v1.1.4
v1.1.5
v1.1.6
v1.1.7
v1.1.8
v1.1.9

v2.*

v2.0.0
v2.0.1

v3.*

v3.0.0

v4.*

v4.0.0