OpenTelemetry-Go: Eager W3C baggage-property materialization causes bounded memory-allocation amplification
OpenTelemetry Go eagerly materializes W3C baggage metadata into property objects during parsing. Slice growth, serialization, and copying into the internal representation cause bounded but disproportionate memory-allocation amplification for a valid, densely populated header. In v1.46.0 and v1.47.0-rc.1, the 8,192-byte raw-input limit is checked before member parsing; this is not unlimited allocation or a bypass of that limit.
Recorded fixes — go.opentelemetry.io/otel/baggage: 1.47.0; go.opentelemetry.io/otel/propagation: 1.47.0; 1 more packages. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 1.0.0-RC1 before 1.47.0Semantic versions | 1.47.0 |
Version evidence: OSV · GHSA-rrfc-gjm9-cgrj
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "1.0.0-RC1"
},
{
"fixed": "1.47.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}