fix(deps): update dependency glob to v10 [security]#8063
fix(deps): update dependency glob to v10 [security]#8063renovate-bot wants to merge 1 commit intogoogleapis:mainfrom
Conversation
|
/gcbrun |
There was a problem hiding this comment.
Code Review
This pull request updates the glob dependency in core/dev-packages/jsdoc-region-tag/package.json from version 7 to 10. Feedback indicates that the specified range ^10.0.0 is insufficient to address CVE-2025-64756, as it allows for vulnerable versions to be installed. It is recommended to update the dependency to ^10.5.0 to ensure the security fix is applied.
| "homepage": "https://github.com/googleapis/google-cloud-node-core/tree/main/dev-packages/jsdoc-region-tag", | ||
| "dependencies": { | ||
| "glob": "^7.1.6" | ||
| "glob": "^10.0.0" |
There was a problem hiding this comment.
The pull request description identifies a security vulnerability (CVE-2025-64756) and recommends upgrading to glob@10.5.0 or higher. The current change to ^10.0.0 allows for vulnerable versions (10.2.0 to 10.4.5) to be installed. Updating the requirement to ^10.5.0 ensures the security fix is included.
| "glob": "^10.0.0" | |
| "glob": "^10.5.0" |
c6f555b to
1cdf3ca
Compare
|
/gcbrun |
1cdf3ca to
3464f05
Compare
|
/gcbrun |
3464f05 to
94857fb
Compare
|
/gcbrun |
94857fb to
945a767
Compare
|
/gcbrun |
945a767 to
d39405d
Compare
|
/gcbrun |
d39405d to
53d5ec5
Compare
|
/gcbrun |
53d5ec5 to
25fcfd8
Compare
|
/gcbrun |
25fcfd8 to
7f054ae
Compare
|
/gcbrun |
7f054ae to
916e0d6
Compare
|
/gcbrun |
916e0d6 to
95f41f6
Compare
|
/gcbrun |
95f41f6 to
e662450
Compare
|
/gcbrun |
e662450 to
2159f23
Compare
|
/gcbrun |
2159f23 to
6ef0fa2
Compare
|
/gcbrun |
This PR contains the following updates:
^7.1.6→^10.5.0GitHub Vulnerability Alerts
CVE-2025-64756
Summary
The glob CLI contains a command injection vulnerability in its
-c/--cmdoption that allows arbitrary command execution when processing files with malicious names. Whenglob -c <command> <patterns>is used, matched filenames are passed to a shell withshell: true, enabling shell metacharacters in filenames to trigger command injection and achieve arbitrary code execution under the user or CI account privileges.Details
Root Cause:
The vulnerability exists in
src/bin.mts:277where the CLI collects glob matches and executes the supplied command usingforegroundChild()withshell: true:Technical Flow:
glob -c <command> <pattern>shell: trueAffected Component:
glob(),globSync(), streams/iterators) is not affectedAttack Surface:
$(), backticks,;,&,|, etc.glob -con untrusted contentPoC
Setup Malicious File:
Trigger Vulnerability:
Result:
$(touch injected_poc)in the filename is evaluated by the shellinjected_pocis created, proving command executionAdvanced Payload Examples:
Data Exfiltration:
Reverse Shell:
Environment Variable Harvesting:
Impact
Arbitrary Command Execution:
Real-World Attack Scenarios:
1. CI/CD Pipeline Compromise:
glob -cto process files (linting, testing, deployment)2. Developer Workstation Attack:
glob -cfor file processing3. Automated Processing Systems:
4. Supply Chain Poisoning:
Platform-Specific Risks:
Affected Products
src/bin.mts)-c/--cmdoption)Scope Limitation:
glob(),globSync(), async iterators) are safe-c/--cmdoption is vulnerableRemediation
glob@10.5.0,glob@11.1.0, or higher, as soon as possible.globCLI actions fail, then convert commands containing positional arguments, to use the--cmd-arg/-goption instead.--shellto maintainshell:truebehavior until glob v12, but take care to ensure that no untrusted contents can possibly be encountered in the file path results.Severity
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HRelease Notes
isaacs/node-glob (glob)
v10.5.0Compare Source
v10.4.5Compare Source
v10.4.4Compare Source
v10.4.3Compare Source
v10.4.2Compare Source
v10.4.1Compare Source
v10.4.0Compare Source
v10.3.16Compare Source
v10.3.15Compare Source
v10.3.14Compare Source
v10.3.13Compare Source
v10.3.12Compare Source
v10.3.11Compare Source
v10.3.10Compare Source
v10.3.9Compare Source
v10.3.8Compare Source
v10.3.7Compare Source
v10.3.6Compare Source
v10.3.5Compare Source
v10.3.4Compare Source
v10.3.3Compare Source
v10.3.2Compare Source
v10.3.1Compare Source
v10.3.0Compare Source
v10.2.7Compare Source
v10.2.6Compare Source
v10.2.5Compare Source
v10.2.4Compare Source
v10.2.3Compare Source
v10.2.2Compare Source
v10.2.1Compare Source
v10.2.0Compare Source
v10.1.0Compare Source
v10.0.0Compare Source
v9.3.5Compare Source
v9.3.4Compare Source
v9.3.3Compare Source
nested extglob patterns.
v9.3.2Compare Source
v9.3.1Compare Source
v9.3.0Compare Source
v9.2.1Compare Source
v9.2.0Compare Source
v9.1.2Compare Source
v9.1.1Compare Source
v9.1.0Compare Source
v9.0.2Compare Source
v9.0.1Compare Source
v9.0.0Compare Source
v8.1.0Compare Source
v8.0.3Compare Source
v8.0.2Compare Source
v8.0.1Compare Source
v7.2.3Compare Source
v7.2.2Compare Source
v7.2.0Compare Source
v7.1.7Compare Source
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.