Skip to content

chore(deps): bump glob from 13.0.6 to 14.0.2 in /console - #2253

Open
semgrep-code-sandbox-quantum[bot] wants to merge 1 commit into
mainfrom
semgrep-autofix/chore-deps-bump-glob-from-13-0-6-to-14-0-b73e0610
Open

semgrep-code-sandbox-quantum[bot] wants to merge 1 commit into
mainfrom
semgrep-autofix/chore-deps-bump-glob-from-13-0-6-to-14-0-b73e0610

Conversation

@semgrep-code-sandbox-quantum

Copy link
Copy Markdown

Summary

Upgrades glob from 13.0.6 to 14.0.2.

Vulnerability details

paul.abbazia@sandboxaq.com requested this Autofix PR for this finding.

Affected versions of glob are vulnerable to Uncontrolled Resource Consumption.

References: https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-113329,GHSA,CVE

Upgrade guidance

✨ Semgrep thinks this is safe to upgrade ✅

glob references

Changelog

Sourced from glob's changelog.

changeglob

14

  • Use minimatch 11. Each portion of a pattern with magic is now matched with a Matcher from @isaacs/nonrecursive-glob-match in place of a RegExp, so patterns can no longer cause ReDoS. Matching follows the minimatch 11 changes, which are closer to Bash in some edge cases.
  • Pattern#pattern() returns a Matcher for a portion with magic. The MMPattern type is now minimatch's ParseReturnFiltered, and the new MMMatcher type is the Matcher part of it.
  • Rename Pattern#isRegExp() to isMatcher(), and Processor#testRegExp() to testMatcher().
  • Remove the debug option, which minimatch no longer has.
  • Add the normalize option, to normalize unicode in the pattern and in the file names that it is matched against.
  • GlobWalker#walk() and walkSync() return arrays in place of sets, and MatchRecord#entries() is removed.
  • ignore patterns that start with / now start at the same place as other patterns that start with /: the root option if set, or else the root of the cwd, such as C:\ on Windows.
  • ignore patterns follow the windowsPathsNoEscape option, the same as other patterns.
  • On Windows, patterns that start with a long UNC root like //?/UNC/host/share/ walk that share, the same as //host/share/.
  • Faster ignore patterns (about 1.2 to 3 times faster), and less work for each entry in a walk (about 10% faster sync, and 15% to 30% faster async, for large trees).
  • Allow const string[] or readonly string[] as ignore option or pattern argument.
  • When the signal aborts an async walk, the walk stops. Before, it rejected, but continued to read directories.

13

  • Move the CLI program out to a separate package, glob-bin. Install that if you'd like to continue using glob from the command line.

12

  • Remove the unsafe --shell option. The --shell option is now ONLY supported on known shells where the behavior can be implemented safely.

11.1

... (truncated)

Commits
  • 93957bf 14.0.2
  • 4682e8c fix: do not continue walking after signal abort
  • 668a669 14.0.1
  • 6ff2314 allow const/readonly string[] for ignore, patterns
  • bbe1e5d 14.0.0
  • d9586ad use actual published deps, not symlinks
  • 8b16637 handle long unc forms
  • 5bcdc65 extglobs cannot contain /
  • d8b40c2 handle root in platform-independent way, for ignores and patterns
  • 7d1c45a add native fs glob test (todo on failure)
  • Additional commits viewable in compare view

@github-actions

Copy link
Copy Markdown

Thank you for your contribution! Before we can merge it, please read our Contributor License Agreement and sign it by posting the following comment on this pull request:


Contributing on behalf of a company? Your employer can sign the Corporate CLA instead: complete the PDF with your authorized GitHub usernames, have an authorized representative sign it, and email it to legal@sandboxquantum.com. Once we record it, your contributions are recognized as covered — see CONTRIBUTING.md.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Priority Alert  (click "▶" to expand/collapse) Action
Low priority
Recently published: npm brace-expansion published yesterday

Location: Package overview

From: console/apps/switch-console-desktop/package.json → npm/electron-builder@26.15.2 → npm/glob@14.0.2 → npm/brace-expansion@5.1.0

ℹ Read more on: This package | This alert | What are recently published artifacts?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should either be allowlisted to allow recently-published versions, or an older version should be used instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/brace-expansion@5.1.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn

View full report

This branch has not been deployed

No deployments
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