Description
OpenTelemetry-Go is the Go implementation of OpenTelemetry. Prior to version 0.0.17, `go.opentelemetry.io/otel/schema/v1.0` and `go.opentelemetry.io/otel/schema/v1.1` leaks one file descriptor on each successful `ParseFile` call. `ParseFile` opens the schema file and passes it to `Parse` without closing it; repeated parsing in a long-running process can exhaust the process file descriptor limit and cause denial of service. Exploitation depends on a consuming application exposing repeated schema parsing to an attacker-controlled path. Version 0.0.17 contains a patch for the issue.
Problem types
CWE-772: Missing Release of Resource after Effective Lifetime
CWE-775: Missing Release of File Descriptor or Handle after Effective Lifetime
Product status
References
github.com/...try-go/security/advisories/GHSA-995v-fvrw-c78m
github.com/...ommit/e72a235518cb773137efd80336a179028bc34684
github.com/...ommit/f12d198f161b61735d65705248715aa97021ba8d