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

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.1% (44th 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 ID SNYK-GOLANG-GOOPENTELEMETRYIOCONTRIBINSTRUMENTATIONGOOGLEGOLANGORGGRPCOTELGRPC-8366355
  • published 11 Nov 2024
  • disclosed 10 Nov 2023
  • credit Unknown

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
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

7.5 high
Expand this section

SUSE

7.5 high
Expand this section

Red Hat

7.5 high