Skip to content

Conversation

@agmond
Copy link

@agmond agmond commented Oct 28, 2025

Updates

  • Affected products

Comments
The vulnerability first introduced in instrumentation/google.golang.org/grpc/otelgrpc/v0.37.0

Commit:
open-telemetry/opentelemetry-go-contrib@04c5dcb

See the new code inserted in instrumentation/google.golang.org/grpc/otelgrpc/interceptor.go, line 342-348:

defer func(t time.Time) {
			elapsedTime := time.Since(t) / time.Millisecond
			attr = append(attr, semconv.RPCGRPCStatusCodeKey.Int64(int64(statusCode)))
			cfg.rpcServerDuration.Record(ctx, int64(elapsedTime), attr...)
		}(time.Now())

This is the code that has been later fixed in v0.46.0 (commit: open-telemetry/opentelemetry-go-contrib@b44dfc9), see lines 389-390.

@github-actions github-actions bot changed the base branch from main to agmond/advisory-improvement-6360 October 28, 2025 17:12
@advisory-database advisory-database bot merged commit f05890c into agmond/advisory-improvement-6360 Oct 28, 2025
4 checks passed
@advisory-database
Copy link
Contributor

Hi @agmond! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!

@advisory-database advisory-database bot deleted the agmond-GHSA-8pgv-569h-w5rw branch October 28, 2025 18:22
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.

2 participants