fix: dependency security (DELO-6281) - #232
Merged
Merged
Conversation
Pin protobufjs to ^7.6.5 (>= 7.6.2) to resolve arbitrary code injection via pbjs static code generation (SNYK-JS-PROTOBUFJS-17362837, GHSA-pr59-h9ph-3fr8). Transitive dep via @opentelemetry/sdk-node -> @grpc/grpc-js -> @grpc/proto-loader. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2 tasks
lukaszczerpak-cloudinary
approved these changes
Jul 27, 2026
Resolve conflicts with DELO-6300 (OpenTelemetry 0.220.0 / 2.9.0 bump): - package.json version: took master's 1.3.14 line and bumped to 1.3.15, since DELO-6300 already released 1.3.14. Keeping this branch's 1.3.13 would have been a downgrade. - yarn.lock: kept the combined `protobufjs@^7.5.5, protobufjs@^7.6.5` descriptor. Master's otel bump already pulled protobufjs to 7.6.5 transitively; the resolution stays as an explicit floor so it can't regress below the fixed 7.6.2. Verified: yarn install --frozen-lockfile clean, protobufjs resolves to 7.6.5, npm test 13 passing, app boots with ./instrumentation.js. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Vulnerabilities resolved
Dependencies updated
protobufjsis a deep transitive dep:@opentelemetry/sdk-node→@opentelemetry/exporter-logs-otlp-grpc→@grpc/grpc-js→@grpc/proto-loader→protobufjs.Resolutions
protobufjs:^7.6.5— pins the transitive copy to the highest 7.x (≥ 7.6.2 required). Staying within^7keeps compatibility with@grpc/proto-loader'sprotobufjs@^7.5.5peer range; 8.x would cross a major boundary. Fixes DELO-6281.Package version
1.3.12→1.3.13(PATCH — security-only fix)Test results
npm testpassed — 13 passing, no hard crashes or module errors.node --require ./instrumentation.js), since protobufjs feeds the OTLP gRPC exporter.Test plan
npm testpassesnode --require ./instrumentation.js start.js(Prometheus exporter on :6060)