Open-telemetry opentelemetry-java-instrumentation
OpenTelemetry Javaagent RMI context propagation allows resource exhaustion
OpenTelemetry Java Instrumentation provides OpenTelemetry auto-instrumentation and instrumentation libraries for Java. In versions prior to 2.27.0, the RMI context propagation payload reader limits the number of context entries but does not limit the aggregate size of the strings read from the stream. An attacker who can reach an RMI endpoint on an instrumented JVM can send an oversized context propagation payload. This can cause excessive memory allocation while the JVM reads the payload, potentially leading to denial of service. The issue affects only deployments where RMI instrumentation is enabled and an RMI endpoint is network-reachable. This issue has been fixed in version 2.27.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.27.0
Fixed in 2.27.0
Mitigation
Upgrade opentelemetry-java-instrumentation to 2.27.0 or later.
References
- Vendor advisory github.com/open-telemetry/opentelemetry-java-i…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.