> CVE-2023-45142 [HIGH]

« BACK_TO_HOME
PUBLISHED
2023-10-12 17:15
MODIFIED
2024-11-21 08:26
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
1.61%
Top 23.9%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-10-27 OSV 🔗 2026-11-15

> DESCRIPTION

OpenTelemetry-Go Contrib is a collection of third-party packages for OpenTelemetry-Go. A handler wrapper out of the box adds labels `http.user_agent` and `http.method` that have unbound cardinality. It leads to the server's potential memory exhaustion when many malicious requests are sent to it. HTTP header User-Agent or HTTP method for requests can be easily set by an attacker to be random and long. The library internally uses `httpconv.ServerRequest` that records every value for HTTP `method` and `User-Agent`. In order to be affected, a program has to use the `otelhttp.NewHandler` wrapper and not filter any unknown HTTP methods or User agents on the level of CDN, LB, previous middleware, etc. Version 0.44.0 fixed this issue when 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. As a workaround to stop being affected, `otelhttp.WithFilter()` can be used, but it requires manual careful configuration to not log certain requests entirely. For convenience and safe usage of this library, it should by default mark with the label `unknown` non-standard HTTP methods and User agents to show that such requests were made but do not increase cardinality. In case someone wants to stay with the current behavior, library API should allow to enable it.

> AFFECTED_PRODUCTS

Opentelemetry - Opentelemetry
< 0.44.0

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: OpenShift Container Platform 4.15.38 bug fix and security update
Red Hat OpenShift Container Platform release 4.15.38 is now available with updates to packages and images that fix several bugs and add enhancements. This release includes a security update for Red H...

> GITHUB SECURITY ADVISORY

GHSA-rcjv-mgp8-qvmr HIGH

OpenTelemetry-Go Contrib vulnerable to denial of service in otelhttp due to unbound cardinality metrics

AFFECTED PACKAGES:
GO / go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace
< 0.44.0
Fixed in: 0.44.0
GO / go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron
< 0.44.0
Fixed in: 0.44.0
GO / go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho
< 0.44.0
Fixed in: 0.44.0
GO / go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
< 0.44.0
Fixed in: 0.44.0
GO / go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
< 0.44.0
Fixed in: 0.44.0
GO / go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful
< 0.44.0
Fixed in: 0.44.0
GO / go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
< 0.44.0
Fixed in: 0.44.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

OpenTelemetry-Go Contrib has DoS vulnerability in otelhttp due to unbound cardinality metrics

AFFECTED PACKAGES:
Unknown / Unknown
4003 versions affected
ALIASES:
GHSA-rcjv-mgp8-qvmr, GO-2023-2113

> HISTORIQUE DES MODIFICATIONS

Première apparition
12/10/2023 17:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:43
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME