Skip to content

chore(deps): update dependency brace-expansion@>=2.0.0 <2.0.3 to v5 [security]#594

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-brace-expansion-=2.0.0-2.0.3-vulnerability
Open

chore(deps): update dependency brace-expansion@>=2.0.0 <2.0.3 to v5 [security]#594
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-brace-expansion-=2.0.0-2.0.3-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 18, 2026

This PR contains the following updates:

Package Change Age Confidence
brace-expansion@>=2.0.0 <2.0.3 [>=2.0.3>=5.0.6](https://renovatebot.com/diffs/npm/brace-expansion@>=2.0.0 <2.0.3/2.0.3/5.0.6) age confidence

brace-expansion: Large numeric range defeats documented max DoS protection

CVE-2026-45149 / GHSA-jxxr-4gwj-5jf2

More information

Details

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.

Workaround

Ensure the string to be expanded doesn't contain more values than the desired max item count.

Severity

  • CVSS Score: 6.5 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

juliangruber/brace-expansion (brace-expansion@>=2.0.0 <2.0.3)

v5.0.6

Compare Source

v5.0.5

Compare Source

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v4.0.1

Compare Source


v4.0.0

Compare Source

As a precaution to not risk breaking anything with 278132b, this is a new semver major release

v3.0.2

Compare Source

v3.0.1

Compare Source


v3.0.0

Compare Source

v2.1.0

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 18, 2026
@renovate renovate Bot changed the title chore(deps): update dependency brace-expansion@>=2.0.0 <2.0.3 to v5 [security] chore(deps): update dependency brace-expansion@>=2.0.0 <2.0.3 to >=2.1.0 [security] May 19, 2026
@renovate renovate Bot force-pushed the renovate/npm-brace-expansion-=2.0.0-2.0.3-vulnerability branch from 308fb60 to 33076f4 Compare May 19, 2026 12:48
@renovate renovate Bot changed the title chore(deps): update dependency brace-expansion@>=2.0.0 <2.0.3 to >=2.1.0 [security] chore(deps): update dependency brace-expansion@>=2.0.0 <2.0.3 to v5 [security] May 19, 2026
@renovate renovate Bot force-pushed the renovate/npm-brace-expansion-=2.0.0-2.0.3-vulnerability branch from 33076f4 to d06b20e Compare May 19, 2026 15:23
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants