CVE-2023-45142
CVE-2023-45142 · OpenTelemetry-Go Contrib has DoS vulnerability in otelhttp due to unbound cardinality metrics
CVSS 7.5 · Alta · EPSS 1,6% · Corrección disponible
Compara con tu versión instalada
Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.
- opentelemetry-go-contribSin corrección publicada
- k3s Alpine 3.20Actualiza a 1.29.3.1-r0
- k3s Alpine 3.21Actualiza a 1.29.3.1-r0
- k3s Alpine 3.22Actualiza a 1.29.3.1-r0
- y 5 más
Comprueba la versión instalada:
apk list -I -o k3sEvalúa los riesgos de tu servidor
La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.
La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.
curl -fsSL https://patchfirst.dev/check.sh | shLos canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
- Publicación
- Actualización
Correcciones en distribuciones
- SUSE-SU-2025:20259-1 · SUSE Linux Micro 6.1 ·
- SUSE-SU-2025:20110-1 · SUSE Linux Micro 6.0 ·
- SUSE-SU-2025:20091-1 · SUSE Linux Micro 6.0 ·
- SUSE-SU-2024:4360-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, openSUSE Leap Micro 5.5, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Micro 5.1, SUSE Linux Enterprise Micro 5.2, SUSE Linux Enterprise Micro 5.3, SUSE Linux Enterprise Micro 5.4, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Module for Containers 15 SP5, SUSE Linux Enterprise Module for Containers 15 SP6, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Linux Enterprise Server for SAP Applications 15 SP4 ·
- SUSE-SU-2024:4319-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
- RHSA-2024:4118 · Red Hat ceph storage 5.3 el8, Red Hat ceph storage 5.3 el9 ·
- SUSE-SU-2024:3288-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, SUSE Linux Enterprise Module for Package Hub 15 SP5, SUSE Linux Enterprise Module for Package Hub 15 SP6, SUSE Manager Proxy Module 4.3 ·
- SUSE-SU-2024:3267-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, SUSE Manager Client Tools 15, SUSE Manager Client Tools for SLE Micro 5 ·
- SUSE-SU-2024:3266-1 · SUSE Manager Client Tools 12 ·
- SUSE-SU-2024:3221-1 · openSUSE Leap 15.5, openSUSE Leap 15.6, openSUSE Leap Micro 5.5, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise Micro 5.1, SUSE Linux Enterprise Micro 5.2, SUSE Linux Enterprise Micro 5.3, SUSE Linux Enterprise Micro 5.4, SUSE Linux Enterprise Micro 5.5, SUSE Linux Enterprise Module for Containers 15 SP5, SUSE Linux Enterprise Module for Containers 15 SP6, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Linux Enterprise Server for SAP Applications 15 SP4 ·
- SUSE-SU-2024:3188-1 · SUSE Linux Enterprise Module for Containers 12 ·
- openSUSE-SU-2024:14320-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:14321-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:14232-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:0220-1 · openSUSE Leap 15.6, SUSE Package Hub 15 SP6 ·
- openSUSE-SU-2024:0211-1 · openSUSE Leap 15.5, SUSE Package Hub 15 SP5 ·
- openSUSE-SU-2024:13360-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:13495-1 · openSUSE Tumbleweed ·
Pila tecnológica: system
Productos y versiones afectados
opentelemetry-go-contrib
- Versiones
- < 0.44.0: Afectada
Sin corrección publicada
k3s Alpine 3.20
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.29.3.1-r0
Actualiza a 1.29.3.1-r0
k3s Alpine 3.21
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.29.3.1-r0
Actualiza a 1.29.3.1-r0
k3s Alpine 3.22
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.29.3.1-r0
Actualiza a 1.29.3.1-r0
k3s Alpine 3.23
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.29.3.1-r0
Actualiza a 1.29.3.1-r0
k3s Alpine 3.24
- Intervalos de versiones afectados
- ECOSYSTEM: < 1.29.3.1-r0
Actualiza a 1.29.3.1-r0
golang-opentelemetry-contrib Ubuntu 25.10
- Versiones
- 0.56.0-5
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-opentelemetry-contrib Ubuntu 26.10
- Versiones
- 0.56.0-5
- 1.43.0-1
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
golang-opentelemetry-contrib Ubuntu 26.04 LTS
- Versiones
- 0.56.0-5
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
Fuentes originales
- https://github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-rcjv-mgp8-qvmr
- https://github.com/open-telemetry/opentelemetry-go-contrib/security/advisories/GHSA-5r5m-65gx-7vrh
- https://github.com/open-telemetry/opentelemetry-go-contrib/pull/4277
- https://github.com/advisories/GHSA-cg3q-j54f-5p7p
- https://github.com/open-telemetry/opentelemetry-go-contrib/blob/5f7e6ad5a49b45df45f61a1deb29d7f1158032df/instrumentation/net/http/otelhttp/handler.go#L63-L65
- https://github.com/open-telemetry/opentelemetry-go-contrib/releases/tag/v1.19.0
- https://github.com/open-telemetry/opentelemetry-go/blob/38e1b499c3da3107694ad2660b3888eee9c8b896/semconv/internal/v2/http.go#L223
- https://github.com/open-telemetry/opentelemetry-go/blob/v1.12.0/semconv/internal/v2/http.go#L159
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2UTRJ54INZG3OC2FTAN6AFB2RYNY2GAD/
- https://nvd.nist.gov/vuln/detail/CVE-2023-45142