Skip to content

chore(deps): update dependency brace-expansion@<5.0.5 to v5.0.6 [security]#73

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

chore(deps): update dependency brace-expansion@<5.0.5 to v5.0.6 [security]#73
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-brace-expansion-5.0.5-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@<5.0.5 5.0.55.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@<5.0.5)

v5.0.6

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants