Repository navigation
[Cycode] Fix for vulnerable manifest file dependency - go.opentelemetry.io/otel/sdk updated to version 1.33.0 #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -18,7 +18,7 @@ | |||||||||||||||||||||||||||||
| go.opentelemetry.io/collector/exporter v0.111.0 | ||||||||||||||||||||||||||||||
| go.opentelemetry.io/collector/pdata v1.17.0 | ||||||||||||||||||||||||||||||
| go.opentelemetry.io/otel/metric v1.30.0 | ||||||||||||||||||||||||||||||
| go.opentelemetry.io/otel/sdk v1.30.0 | ||||||||||||||||||||||||||||||
| go.opentelemetry.io/otel/sdk v1.33.0 | ||||||||||||||||||||||||||||||
|
Check failure on line 21 in go.mod
|
||||||||||||||||||||||||||||||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ❗Cycode: Security vulnerability found in newly introduced dependency.
ImpactThe OpenTelemetry Go SDK in version PatchesThis has been patched in d45961b, which was released with ReferencesDescriptionDetects when new vulnerabilities affect your dependencies. Tell us how you wish to proceed using one of the following commands:
|
||||||||||||||||||||||||||||||
| go.opentelemetry.io/proto/otlp v1.3.1 | ||||||||||||||||||||||||||||||
| go.uber.org/zap v1.27.0 | ||||||||||||||||||||||||||||||
| ) | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❗Cycode: Security vulnerability found in newly introduced dependency.
go.opentelemetry.io/otel/sdkgo.opentelemetry.io/otel/sdk 1.33.01.43.0Summary
The fix for GHSA-9h8m-3fm2-qjrq (CVE-2026-24051) changed the Darwin
ioregcommand to use an absolute path but left the BSDkenvcommand using a bare name, allowing the same PATH hijacking attack on BSD and Solaris platforms.Root Cause
sdk/resource/host_id.goline 42:Compare with the fixed Darwin path at line 58:
The
execCommandhelper atsdk/resource/host_id_exec.gousesexec.Command(name, arg...)which searches$PATHwhen the command name contains no path separator.Affected platforms (per build tag in
host_id_bsd.go:4): DragonFly BSD, FreeBSD, NetBSD, OpenBSD, Solaris.The
kenvpath is reached when/etc/hostiddoes not exist (line 38-40), which is common on FreeBSD systems.Attack
go.opentelemetry.io/otel/sdkkenvbinary earlier in$PATHhostIDReaderBSD.read()callsexec.Command("kenv", ...)which resolves to the malicious binarySame attack vector and impact as CVE-2026-24051.
Suggested Fix
Use the absolute path:
On FreeBSD,
kenvis located at/bin/kenv.Description
Detects when new vulnerabilities affect your dependencies.
Tell us how you wish to proceed using one of the following commands: