5.3Medium

CVE-2026-54285opentelemetry-js: Unbounded memory allocation in W3C Baggage propagation

open-telemetry opentelemetry-js Published: (4 months ago)

Description

opentelemetry-js is the OpenTelemetry JavaScript Client. Prior to 2.8.0, W3CBaggagePropagator.extract() in @opentelemetry/core does not enforce size limits when parsing inbound baggage HTTP headers. The W3C Baggage specification recommends a maximum of 8,192 bytes and 180 entries; these limits were only enforced on the outbound (inject()) path, not on the inbound (extract()) path. Parsing oversized baggage causes memory allocation proportional to the header size without any cap. This vulnerability is fixed in 2.8.0.

Weakness (CWE): CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
open-telemetry opentelemetry-js < 2.8.0
opentelemetry opentelemetry < 2.8.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:opentelemetry:opentelemetry:*:*:*:*:*:node.js:*:* < 2.8.0