Skip to content
Heist/ feed
Back to feed
Medium

Sensitive query parameters logged by default in OpenTelemetry.Instrumentation http and AspNetCore

Type: advisorySources: OSV

OpenTelemetry dotnet is a dotnet telemetry framework. In affected versions of `OpenTelemetry.Instrumentation.Http` and `OpenTelemetry.Instrumentation.AspNetCore` the `url.full` writes attribute/tag on spans (`Activity`) when tracing is enabled for outgoing http requests and `OpenTelemetry.Instrumentation.AspNetCore` writes the `url.query` attribute/tag on spans (`Activity`) when tracing is enabled for incoming http requests. These attributes are defined by the Semantic Conventions for HTTP Spans. Up until version `1.8.1` the values written by `OpenTelemetry.Instrumentation.Http` & `OpenTelemetry.Instrumentation.AspNetCore` will pass-through the raw query string as was sent or received (respectively). This may lead to sensitive information (e.g. EUII - End User Identifiable Information, credentials, etc.) being leaked into telemetry backends (depending on the application(s) being instrumented) which could cause 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. The `1.8.1` versions of `OpenTelemetry.Instrumentation.Http` & `OpenTelemetry.Instrumentation.AspNetCore` will now redact by default all values detected on transmitted or received query strings. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-32028
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:00 UTC · Revision 1

Source evidence

Sensitive query parameters logged by default in OpenTelemetry.Instrumentation http and AspNetCore

core-osv · Original source

Published 12 Apr 2024, 22:58 UTC

OpenTelemetry dotnet is a dotnet telemetry framework. In affected versions of `OpenTelemetry.Instrumentation.Http` and `OpenTelemetry.Instrumentation.AspNetCore` the `url.full` writes attribute/tag on spans (`Activity`) when tracing is enabled for outgoing http requests and `OpenTelemetry.Instrumentation.AspNetCore` writes the `url.query` attribute/tag on spans (`Activity`) when tracing is enabled for incoming http requests. These attributes are defined by the Semantic Conventions for HTTP Spans. Up until version `1.8.1` the values written by `OpenTelemetry.Instrumentation.Http` & `OpenTelemetry.Instrumentation.AspNetCore` will pass-through the raw query string as was sent or received (respectively). This may lead to sensitive information (e.g. EUII - End User Identifiable Information, credentials, etc.) being leaked into telemetry backends (depending on the application(s) being instrumented) which could cause 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. The `1.8.1` versions of `OpenTelemetry.Instrumentation.Http` & `OpenTelemetry.Instrumentation.AspNetCore` will now redact by default all values detected on transmitted or received query strings. Users are advised to upgrade. There are no known workarounds for this vulnerability.

osv:CVE-2024-32028
Complete source record
{
  "id": "50f1a8b488e0580ba933790a786dddca612cd73c0cfea0679e1275d7158a785d",
  "url": "https://osv.dev/vulnerability/CVE-2024-32028",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Sensitive query parameters logged by default in OpenTelemetry.Instrumentation http and AspNetCore",
    "summary": "OpenTelemetry dotnet is a dotnet telemetry framework. In affected versions of `OpenTelemetry.Instrumentation.Http` and `OpenTelemetry.Instrumentation.AspNetCore` the `url.full` writes attribute/tag on spans (`Activity`) when tracing is enabled for outgoing http requests and `OpenTelemetry.Instrumentation.AspNetCore` writes the `url.query` attribute/tag on spans (`Activity`) when tracing is enabled for incoming http requests. These attributes are defined by the Semantic Conventions for HTTP Spans. Up until version `1.8.1` the values written by `OpenTelemetry.Instrumentation.Http` & `OpenTelemetry.Instrumentation.AspNetCore` will pass-through the raw query string as was sent or received (respectively). This may lead to sensitive information (e.g. EUII - End User Identifiable Information, credentials, etc.) being leaked into telemetry backends (depending on the application(s) being instrumented) which could cause 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. The `1.8.1` versions of `OpenTelemetry.Instrumentation.Http` & `OpenTelemetry.Instrumentation.AspNetCore` will now redact by default all values detected on transmitted or received query strings. Users are advised to upgrade. There are no known workarounds for this vulnerability.",
    "evidence": "osv:CVE-2024-32028",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-32028",
      "aliases": [
        "CVE-2024-32028",
        "GHSA-vh2m-22xx-q94f"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/open-telemetry/opentelemetry-dotnet",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5086977baa2c4164a5260a827af47383cb5e2b5f"
                },
                {
                  "fixed": "e222ecb5942d4ce1cadfd4306c39e3f4933a5c42"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.8.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e222ecb5942d4ce1cadfd4306c39e3f4933a5c42"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "core-1.8.0",
            "Instrumentation.SqlClient-1.8.0-beta.1",
            "Instrumentation.Http-1.8.0",
            "Instrumentation.GrpcNetClient-1.8.0-beta.1",
            "Instrumentation.AspNetCore-1.8.0",
            "core-1.8.0-rc.1",
            "core-1.8.0-beta.1",
            "Instrumentation.SqlClient-1.7.0-beta.1",
            "Instrumentation.Http-1.7.1",
            "Instrumentation.GrpcNetClient-1.7.0-beta.1",
            "Instrumentation.AspNetCore-1.7.1",
            "Instrumentation.Http-1.7.0",
            "Instrumentation.AspNetCore-1.7.0",
            "Instrumentation.Http-1.6.0",
            "Instrumentation.AspNetCore-1.6.0",
            "core-1.7.0",
            "1.7.0-beta.1",
            "1.6.0-rc.1",
            "core-1.7.0-rc.1",
            "1.6.0-beta.3",
            "1.6.0-beta.2",
            "core-1.7.0-alpha.1",
            "core-1.6.0",
            "1.6.0-beta.1",
            "core-1.6.0-rc.1",
            "1.5.1-beta.1",
            "core-1.6.0-alpha.1",
            "core-1.5.0",
            "1.5.0-beta.1",
            "core-1.5.0-rc.1",
            "core-1.5.0-alpha.1",
            "core-1.4.0",
            "1.0.0-rc9.14",
            "core-1.4.0-rc.4",
            "1.0.0-rc9.13",
            "core-1.4.0-rc.3",
            "1.0.0-rc9.12",
            "core-1.4.0-rc.2",
            "1.0.0-rc9.11",
            "core-1.4.0-rc.1",
            "1.0.0-rc9.10",
            "core-1.4.0-beta.3",
            "1.0.0-rc9.9",
            "core-1.4.0-beta.2",
            "1.0.0-rc9.8",
            "core-1.4.0-beta.1",
            "1.0.0-rc9.7",
            "core-1.3.0",
            "1.0.0-rc9.4",
            "core-1.4.0-alpha.2",
            "1.0.0-rc9.6",
            "core-1.4.0-alpha.1",
            "1.0.0-rc9.5",
            "core-1.3.0-rc.2",
            "core-1.3.0-beta.2",
            "core-1.3.0-beta.1",
            "1.0.0-rc9.3",
            "core-1.2.0",
            "core-1.2.0-rc5",
            "1.0.0-rc9.2",
            "core-1.2.0-rc4",
            "1.0.0-rc9.1",
            "core-1.2.0-rc3",
            "1.0.0-rc10",
            "core-1.2.0-rc2",
            "1.0.0-rc9",
            "core-1.2.0-rc1",
            "core-1.2.0-beta2",
            "core-1.2.0-beta1",
            "1.0.0-rc8",
            "core-1.2.0-alpha4",
            "core-1.2.0-alpha3",
            "core-1.2.0-alpha2",
            "core-1.2.0-alpha1",
            "core-1.1.0",
            "1.0.0-rc7",
            "core-1.1.0-rc1",
            "1.0.0-rc6",
            "core-1.1.0-beta4",
            "1.0.0-rc5",
            "core-1.1.0-beta3",
            "core-1.1.0-beta2",
            "1.0.0-rc4",
            "core-1.1.0-beta1",
            "1.0.0-rc3",
            "core-1.0.1",
            "core-1.0.0-rc4",
            "core-1.0.0-rc3",
            "1.0.0-rc2",
            "1.0.0-rc1",
            "0.8.0-beta",
            "0.7.0-beta",
            "0.6.0-beta",
            "0.5.0-beta",
            "0.4.0-beta",
            "0.3.0-beta",
            "0.2.0-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32028.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.743630920Z",
      "provider": "osv",
      "references": [
        "https://github.com/open-telemetry/semantic-conventions/blob/main/docs/http/http-spans.md",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32028.json",
        "https://github.com/open-telemetry/opentelemetry-dotnet/security/advisories/GHSA-vh2m-22xx-q94f",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-32028",
        "https://github.com/open-telemetry/opentelemetry-dotnet/commit/e222ecb5942d4ce1cadfd4306c39e3f4933a5c42"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-201",
          "CWE-212"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32028.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-32028",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496615,
  "published_at": "2024-04-12T22:58:30.526+00:00"
}