Improper Removal of Sensitive Information Before Storage or Transfer Affecting opentelemetry.instrumentation.aspnetcore package, versions [,1.8.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (18th 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 IDSNYK-DOTNET-OPENTELEMETRYINSTRUMENTATIONASPNETCORE-6613064
  • published14 Apr 2024
  • disclosed12 Apr 2024
  • creditUnknown

Introduced: 12 Apr 2024

CVE-2024-32028  (opens in a new tab)
CWE-212  (opens in a new tab)

How to fix?

Upgrade OpenTelemetry.Instrumentation.AspNetCore to version 1.8.1 or higher.

Overview

OpenTelemetry.Instrumentation.AspNetCore is an ASP.NET Core instrumentation for OpenTelemetry .NET

Affected versions of this package are vulnerable to Improper Removal of Sensitive Information Before Storage or Transfer due to the logging of sensitive query parameters by default. This behavior occurs when tracing is enabled, leading to the url.full attribute/tag being written on spans (Activity) for outgoing HTTP requests and the url.query attribute/tag for incoming HTTP requests. As a result, sensitive information such as End User Identifiable Information (EUII), credentials, etc., may be leaked into telemetry backends, potentially causing privacy and/or security incidents.

Note

Older versions of OpenTelemetry.Instrumentation.Http & OpenTelemetry.Instrumentation.AspNetCore may use different tag names but have the same vulnerability.

References

CVSS Scores

version 3.1