Skip to content

Commit fd332fe

Browse files
committed
MLE-24228 Bumping mocha and glob
Fixes some CVEs
1 parent 469ce98 commit fd332fe

File tree

3 files changed

+49
-52
lines changed

3 files changed

+49
-52
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ brace-expansion: "2.0.2"
8585
- Why needed: Prevents regex denial of service attacks
8686
- CVE/Issue: Related to minimatch vulnerabilities
8787

88-
glob: "10.3.11"
89-
- Purpose: Fixes ReDoS and security issues in file globbing
90-
- Affects: mocha, gulp-mocha build tooling
91-
- Why needed: Older glob versions have pattern matching vulnerabilities
92-
- CVE/Issue: Multiple vulnerabilities in older glob versions
88+
glob: "12.0.0"
89+
- Purpose: Fixes command injection vulnerability in glob CLI
90+
- Affects: mocha, gulp-mocha, rimraf (via bunyan/mv)
91+
- Why needed: Versions 10.3.7-11.0.3 vulnerable to command injection via -c/--cmd flag
92+
- CVE/Issue: GHSA-5j98-mcp5-4vw2 - Command injection via shell:true execution
9393

9494
glob-parent: "6.0.2"
9595
- Purpose: Fixes ReDoS in path parsing

package-lock.json

Lines changed: 42 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"gulp-mocha": "10.0.1",
5656
"intercept-stdout": "0.1.2",
5757
"jsdoc": "4.0.5",
58-
"mocha": "11.7.4",
58+
"mocha": "11.7.5",
5959
"mocha-junit-reporter": "2.2.1",
6060
"moment": "2.30.1",
6161
"sanitize-html": "2.17.0",
@@ -76,7 +76,7 @@
7676
"color-name": "2.0.0",
7777
"cross-spawn": "7.0.6",
7878
"debug": "4.3.6",
79-
"glob": "10.3.11",
79+
"glob": "12.0.0",
8080
"glob-parent": "6.0.2",
8181
"minimatch": "5.1.0",
8282
"semver": "7.5.3",

0 commit comments

Comments
 (0)