llamaCVEVulnerability Intelligence
/
Advisory · GitHub · NuGet · OpenTelemetry.OpAmp.Client

GHSA-W2JH-77FQ-7GP8

OpAMP client reads unbounded HTTP response bodies

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -14 d de la divulgación
Exposición198 dDesde la divulgación, 5 may 2026, 4:57 p. m.
Detección195 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 0.2.0-alpha.1
Monitoreo
Detectada
21 abr 26
5 may 26
13 may 26
17 nov 26
19 nov 26
21 abr 26
13 jun 26
5 ago 26
27 sept 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.2.0-alpha.1 OpenTelemetry.OpAmp.Client · -14 d desde divulgación
Divulgación Publicada GHSA-W2JH-77FQ-7GP8 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

When receiving responses from the OpAMP server over HTTP, the OpAMP client allocates an unbounded buffer to read all bytes from the server, with no upper-bound on the number of bytes consumed.

This could cause memory exhaustion in the consuming application if the configured OpAMP server is attacker-controlled (or a network attacker can MitM the connection) and an extremely large body is returned in the response.

Details

#2926 https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2926 introduced the initial HTTP transport components which uses `ReadAsByteArrayAsync` to copy the `HttpResponseMessage.Content` into a byte array. This code path allows an unbounded read of the entire HTTP response message.

Impact

If an application using the OpAMP client is configured to use an OpAMP server that is attacker-controlled (or a network attacker can MitM the connection) and an extremely large body is returned in the response, the application could have its memory exhausted and create a denial-of-service condition.

Mitigation

The application's configured OpAMP server needs to behave maliciously. If the OpAMP server is a well-behaved implementation, response bodies should not be excessively large.

Workarounds

None known.

Remediation

#4116 https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4116 updates the OpAMP client HTTP transport to limit the maximum size of responses to 128KB.

Resources
  • #2926 https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/2926
  • #4116 https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4116
  • CWE-789 https://cwe.mitre.org/data/definitions/789.html
Versiones

Rangos afectados

Afectada Corregida Última
OpenTelemetry.OpAmp.Client< 0.2.0-alpha.1
0.2.0-alpha.1
0.11.0-alpha.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
nugetOpenTelemetry.OpAmp.Client
Corregida 0.2.0-alpha.1 -14 d 0.11.0-alpha.1 no afectada
Versiones corregidas0.2.0-alpha.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-42348
Otrahttps://github.com/open-telemetry/opentelemetry-dotnet-contrib/security/advisories/GHSA-w2jh-77fq-7gp8
Otrahttps://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/4116
Otrahttps://github.com/open-telemetry/opentelemetry-dotnet-contrib/commit/bf1fad4fa298ff451cda0efb0ee9c7a7eb46212a
Otrahttps://github.com/open-telemetry/opentelemetry-dotnet-contrib

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.