Skip to content

Commit f5d1c5e

Browse files
oiokiclaude
andauthored
build(deps): Bump @sentry/node and force minimatch to fix GHSA-3ppc-4f35-3m26 (#207)
* build(deps): Bump @sentry/node and force minimatch to fix GHSA-3ppc-4f35-3m26 Two instances of vulnerable minimatch (9.0.0–9.0.5) were present: 1. @sentry/node@10.0.0 pulled in minimatch@^9.0.0 (resolved to 9.0.5) as a production dependency. @sentry/node@10.40.0 drops minimatch entirely, so bumping to that version removes the production-side exposure. @sentry/profiling-node is bumped in lockstep to match. 2. @typescript-eslint/typescript-estree@6.16.0 (via eslint-config-sentry-app) hard-pins minimatch@9.0.3 (exact, not a range). Yarn v1 selective resolutions cannot override exact-version pins in transitive deps, so a broad resolution "minimatch": "9.0.6" is used instead — the same approach taken for json5. minimatch 9.x exposes the same CJS API as 3.x, so all consumers (eslint, jest, glob, @fastify/otel) remain compatible. All tests pass. Co-Authored-By: Claude <noreply@anthropic.com> * build(deps): Bump minimatch resolution to 9.0.9 9.0.6 itself has two additional ReDoS vulnerabilities (GHSA-23c5-xmqv-rm74, GHSA-7r86-cg39-jmmj) caught by the dependency-review CI check. 9.0.9 is the latest 9.x release and has no known advisories. Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7edb890 commit f5d1c5e

2 files changed

Lines changed: 345 additions & 324 deletions

File tree

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"README"
2121
],
2222
"dependencies": {
23-
"@sentry/node": "10.0.0",
24-
"@sentry/profiling-node": "10.0.0",
23+
"@sentry/node": "10.40.0",
24+
"@sentry/profiling-node": "10.40.0",
2525
"canvas": "^3.2.0",
2626
"dotenv": "^8.2.0",
2727
"echarts": "6.0.0",
@@ -48,7 +48,8 @@
4848
"typescript": "^5.3.3"
4949
},
5050
"resolutions": {
51-
"json5": "^2.2.3"
51+
"json5": "^2.2.3",
52+
"minimatch": "9.0.9"
5253
},
5354
"volta": {
5455
"node": "20.20.0",

0 commit comments

Comments
 (0)