Allocation of Resources Without Limits or Throttling Affecting go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc package, versions <0.46.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.13% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOOPENTELEMETRYIOCONTRIBINSTRUMENTATIONGOOGLEGOLANGORGGRPCOTELGRPC-8366355
  • published11 Nov 2024
  • disclosed10 Nov 2023
  • creditUnknown

Introduced: 10 Nov 2023

CVE-2023-47108  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc to version 0.46.0 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the grpc Unary Server Interceptor, an attacker can cause the server's potential memory exhaustion by sending many malicious requests.

Workaround

This vulnerability can be mitigated by using a view to remove the attributes or disabling grpc metrics instrumentation by passing otelgrpc.WithMeterProvider option with noop.NewMeterProvider.

CVSS Scores

version 3.1