Intel

AIKIDO-2024-10320

go.opentelemetry.io/collector/config/confignet is vulnerable to Undefined Behavior

Undefined Behavior Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 4, 2024

40

Medium Risk

This Affects:

gogo.opentelemetry.io/collector/config/confignet
0.2.0 - 0.110.0
Fixed in 0.111.0
1.0.0 - 1.16.0
Fixed in 1.17.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to undefined behavior. An error variable is shared between requests because it uses the same address as the error defined outside the function. This causes an UB because memory is overwritten and this will cause crashes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

go.opentelemetry.io/collector/config/confignet is vulnerable to Undefined Behavior in versions 0.2.0 - 0.110.0 and 1.0.0 - 1.16.0.

How to fix this

Upgrade the go.opentelemetry.io/collector/config/confignet library to a patch version.