Open-telemetry opentelemetry-ebpf-instrumentation
OpenTelemetry eBPF Instrumentation: Memcached payload length overflow can crash OBI
OpenTelemetry eBPF Instrumentation provides eBPF instrumentation based on the OpenTelemetry standard. From version 0.7.0 to before version 0.9.0, a remotely reachable integer overflow in OBI's memcached text protocol parser can crash the OBI process and cause denial of service. When parsing memcached storage commands such as set, add, replace, append, prepend, or cas, OBI accepts extremely large <bytes> values and adds the payload delimiter length without checking for overflow. A crafted request with <bytes> set to math.MaxInt or math.MaxInt-1 causes the computed payload length to wrap negative and triggers a runtime panic in LargeBufferReader.Peek. This issue has been patched in version 0.9.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.7.0, < 0.9.0
Fixed in 0.9.0
Mitigation
Upgrade opentelemetry-ebpf-instrumentation to 0.9.0 or later.
References
- Vendor advisory github.com/open-telemetry/opentelemetry-ebpf-i…
- Release notes github.com/open-telemetry/opentelemetry-ebpf-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.