brace-expansion: Large numeric range defeats documented `max` DoS protection
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| juliangruber | brace-expansion | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Juliangruber | Brace-expansion |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-jxxr-4gwj-5jf2 | brace-expansion: Large numeric range defeats documented `max` DoS protection |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.300% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-770 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:juliangruber:brace-expansion:*:*:*:*:*:node.js:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Juliangruber
Juliangruber brace-expansion |
|
| Vendors & Products |
Juliangruber
Juliangruber brace-expansion |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | The brace-expansion library generates arbitrary strings containing a common prefix and suffix. From 5.0.0 to before 5.0.6, the max option was being applied too late. When expanding a single large numeric range like {1..10000000}, the sequence generation loop generates all 10 million intermediate elements before the max limit is applied With max=10, the output is correctly limited to 10 items, but the process still allocates ~505 MB and spends ~800ms building the full intermediate array. This vulnerability is fixed in 5.0.6. | |
| Title | brace-expansion: Large numeric range defeats documented `max` DoS protection | |
| Weaknesses | CWE-400 | |
| References |
| |
| Metrics |
cvssV3_1
|