<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Go.opentelemetry.io/Obi — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/go.opentelemetry.io/obi/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 18 May 2026 20:22:53 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/go.opentelemetry.io/obi/feed.xml" rel="self" type="application/rss+xml"/><item><title>OpenTelemetry eBPF Instrumentation (OBI) Memcached Integer Overflow DoS</title><link>https://feed.craftedsignal.io/briefs/2026-05-opentelemetry-integer-overflow/</link><pubDate>Mon, 18 May 2026 20:22:53 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-opentelemetry-integer-overflow/</guid><description>A remotely reachable integer overflow in OpenTelemetry eBPF Instrumentation's (OBI) memcached text protocol parser can crash the OBI process, causing a denial of service due to unchecked arithmetic when handling large payload sizes in memcached storage commands.</description><content:encoded><![CDATA[<p>A denial-of-service vulnerability exists in the memcached text protocol parser within OpenTelemetry eBPF Instrumentation (OBI). The vulnerability resides in the <code>pkg/ebpf/common/memcached_detect_transform.go</code> file, where the parser lacks proper bounds checking when handling the <code>&lt;bytes&gt;</code> field of memcached storage commands (<code>set</code>, <code>add</code>, <code>replace</code>, <code>append</code>, <code>prepend</code>, <code>cas</code>). By sending a crafted memcached request with an extremely large <code>&lt;bytes&gt;</code> value (e.g., <code>math.MaxInt</code> or <code>math.MaxInt-1</code>), an attacker can cause an integer overflow during payload length calculation. This overflow results in a negative payload length being passed to <code>LargeBufferReader.Peek</code> in <code>pkg/internal/largebuf/large_buffer.go</code>, triggering a runtime panic and crashing the OBI process. This vulnerability affects OBI versions 0.7.0 to 0.8.x, allowing a remote attacker to disrupt telemetry collection.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker identifies an OBI instance instrumenting memcached traffic.</li>
<li>Attacker crafts a memcached storage command (e.g., <code>set</code>) with a large <code>&lt;bytes&gt;</code> field (close to <code>math.MaxInt</code>).</li>
<li>Attacker sends the crafted memcached storage command to a service instrumented by the vulnerable OBI instance on port 11211.</li>
<li>OBI&rsquo;s memcached request parser (<code>memcachedCommandBytesField</code> in <code>pkg/ebpf/common/memcached_detect_transform.go</code>) receives the crafted command and parses the <code>&lt;bytes&gt;</code> field using <code>strconv.Atoi</code>.</li>
<li>OBI calculates the payload length by adding the <code>&lt;bytes&gt;</code> value to the length of the trailing <code>\r\n</code> delimiter.</li>
<li>Due to the large <code>&lt;bytes&gt;</code> value, the addition overflows, resulting in a negative <code>payloadLen</code>.</li>
<li>The negative <code>payloadLen</code> is passed to <code>LargeBufferReader.Peek</code> in <code>pkg/internal/largebuf/large_buffer.go</code>.</li>
<li><code>LargeBufferReader.Peek</code> attempts to slice a buffer with the negative length, causing a Go runtime panic and crashing the OBI process.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability results in a denial of service (DoS) against the OBI process. This leads to a loss of telemetry data collection for any services being monitored by the affected OBI instance. The attacker only needs to send a crafted memcached storage command to a service that OBI is instrumenting. This vulnerability impacts OBI deployments where the memcached parser is active and the instrumented services are reachable or influenceable by an attacker.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Deploy the Sigma rule <code>Detect OpenTelemetry OBI Memcached Integer Overflow Attempt</code> to detect crafted memcached storage commands with extremely large <code>&lt;bytes&gt;</code> values in network traffic.</li>
<li>Monitor OBI process logs and container status for crashes originating from <code>LargeBufferReader.Peek</code>, as indicated in the overview, to identify potential exploitation attempts.</li>
<li>Consider filtering or sanitizing memcached storage command inputs to prevent excessively large <code>&lt;bytes&gt;</code> values from reaching instrumented services.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">advisory</category><category>denial-of-service</category><category>integer-overflow</category><category>memcached</category><category>opentelemetry</category></item><item><title>OpenTelemetry eBPF Instrumentation MongoDB Parser Denial-of-Service</title><link>https://feed.craftedsignal.io/briefs/2026-05-opentelemetry-mongodb-dos/</link><pubDate>Mon, 18 May 2026 20:20:25 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-opentelemetry-mongodb-dos/</guid><description>Malformed MongoDB wire messages can trigger uncaught panics in the OpenTelemetry eBPF Instrumentation agent's MongoDB TCP parser, allowing a remote unauthenticated attacker to crash the telemetry agent and cause a denial of service.</description><content:encoded><![CDATA[<p>The OpenTelemetry eBPF Instrumentation agent is susceptible to a denial-of-service vulnerability in its MongoDB protocol parser. This vulnerability, present in versions v0.1.0 through v0.8.0 of <code>go.opentelemetry.io/obi</code>, allows a remote, unauthenticated attacker to crash the telemetry agent by sending specially crafted MongoDB wire messages. The parser operates on raw attacker-controlled network payloads before full validation, leading to uncaught panics and process termination. A single malformed packet can halt telemetry collection, impacting observability. Patches addressing these panics were introduced in versions v0.4.0 and later, but the BSON type-assertion issue persists through v0.8.0. This vulnerability, assigned CVE-2026-45685, can disrupt telemetry collection in deployments that monitor traffic from untrusted or partially trusted MongoDB clients. The affected code paths are in <code>pkg/ebpf/common/mongo_detect_transform.go</code>.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker crafts a malformed MongoDB OP_MSG packet or BSON document.</li>
<li>Attacker sends the crafted packet to the monitored MongoDB instance.</li>
<li>The OpenTelemetry eBPF Instrumentation agent intercepts the MongoDB traffic.</li>
<li>The agent&rsquo;s <code>parseOpMessage</code> function attempts to read flag bits from the packet without proper bounds checking (versions v0.1.0-v0.3.0).</li>
<li>The agent&rsquo;s <code>parseSections</code> function attempts to read document-sequence length without proper bounds checking (versions v0.1.0-v0.3.0).</li>
<li>The agent&rsquo;s <code>parseFirstField</code> function performs an unchecked type assertion on BSON field values (versions v0.1.0-v0.8.0).</li>
<li>The MongoDB parser encounters a slice-bounds panic or type assertion panic.</li>
<li>The OpenTelemetry eBPF Instrumentation agent process terminates, leading to a denial of service and loss of telemetry data.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability results in a denial of service. An unauthenticated attacker can crash the OpenTelemetry eBPF Instrumentation agent by sending a crafted OP_MSG packet or malformed BSON document to a monitored MongoDB instance. This leads to a loss of observability until the agent process is restarted. This vulnerability impacts deployments that enable MongoDB parsing and process attacker-controlled or potentially malformed MongoDB traffic.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade the <code>go.opentelemetry.io/obi</code> package to version 0.9.0 or later to address the vulnerability described in CVE-2026-45685.</li>
<li>Deploy the Sigma rule &ldquo;Detect OpenTelemetry MongoDB Parser Denial-of-Service Attempt&rdquo; to identify suspicious network traffic targeting MongoDB instances that could trigger this vulnerability.</li>
<li>Monitor network traffic for malformed MongoDB packets, specifically those with truncated OP_MSG packets or malformed BSON documents.</li>
</ul>
]]></content:encoded><category domain="severity">medium</category><category domain="type">threat</category><category>opentelemetry</category><category>mongodb</category><category>denial-of-service</category><category>CVE-2026-45685</category></item></channel></rss>