PT-2022-7151 · Unknown+3 · Opentelemetry-Go Contrib+3

Programmer04

·

Published

2022-02-16

·

Updated

2025-08-01

·

CVE-2023-45142

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions OpenTelemetry-Go Contrib versions prior to 0.44.0
Description The issue is related to a denial-of-service attack that can cause memory exhaustion when handling requests with non-standard HTTP methods or User-Agents. The library internally uses httpconv.ServerRequest that records every value for HTTP method and User-Agent. To be affected, a program must use the otelhttp.NewHandler wrapper and not filter any unknown HTTP methods or User agents on the level of CDN, LB, previous middleware, etc. The values collected for attribute http.request.method were changed to be restricted to a set of well-known values and other high cardinality attributes were removed in version 0.44.0.
Recommendations For versions prior to 0.44.0, as a workaround to stop being affected, otelhttp.WithFilter() can be used, but it requires manual careful configuration to not log certain requests entirely. It is recommended to upgrade to version 0.44.0 or later, where the values collected for attribute http.request.method were changed to be restricted to a set of well-known values and other high cardinality attributes were removed. Additionally, consider disabling HTTP metrics instrumentation by passing otelhttp.WithMeterProvider option with noop.NewMeterProvider.

Exploit

Fix

DoS

Missing Release of Resource after Effective Lifetime

Allocation of Resources Without Limits

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2025-7474
AZL-31303
AZL-33347
AZL-33516
AZL-34580
AZL-34889
AZL-34900
AZL-35069
AZL-35116
AZL-35119
AZL-35437
AZL-39972
BDU:2023-07911
CVE-2023-45142
ECHO-59E9-0E26-9692
GHSA-5R5M-65GX-7VRH
GHSA-CG3Q-J54F-5P7P
GHSA-RCJV-MGP8-QVMR
GO-2022-0322
GO-2023-1546
GO-2023-2113
OPENSUSE-SU-2024:0211-1
OPENSUSE-SU-2024:0220-1
OPENSUSE-SU-2024:13360-1
OPENSUSE-SU-2024:13495-1
OPENSUSE-SU-2024:14232-1
OPENSUSE-SU-2024:14320-1
OPENSUSE-SU-2024:14321-1
OPENSUSE-SU-2024_3221-1
OPENSUSE-SU-2024_3267-1
OPENSUSE-SU-2024_3288-1
OPENSUSE-SU-2024_4360-1
RHSA-2024:4118
SUSE-SU-2024:3188-1
SUSE-SU-2024:3221-1
SUSE-SU-2024:3266-1
SUSE-SU-2024:3267-1
SUSE-SU-2024:3288-1
SUSE-SU-2024:4319-1
SUSE-SU-2024:4360-1
SUSE-SU-2024_3188-1
SUSE-SU-2025:20091-1
SUSE-SU-2025:20110-1
SUSE-SU-2025:20259-1

Affected Products

Alt Linux
Opentelemetry-Go Contrib
Red Os
Suse