Skip to content

Bump x/crypto and otel log modules to fix Medium CVEs - #709

Open
moustafab wants to merge 2 commits into
mainfrom
moustafab/bump-crypto-otel-log
Open

moustafab wants to merge 2 commits into
mainfrom
moustafab/bump-crypto-otel-log

Conversation

@moustafab

@moustafab moustafab commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the OpenTelemetry log modules to v0.21.0 (otel core v1.45.0) in the root module and apps/historian, and golang.org/x/crypto to v0.56.0 in apps/historian.

Fixes CVE-2026-56855, CVE-2026-78662 (x/crypto), CVE-2026-81871 (otlploggrpc) and CVE-2026-81872 (otel/sdk/log). govulncheck no longer reports them.

Closes grafana/alerting-squad#2185

Bump the OpenTelemetry log modules to v0.21.0 (and the otel core
modules they require to v1.45.0) in the root module and
apps/historian, and golang.org/x/crypto to v0.56.0 in apps/historian
(the root module already had it).

Fixes:
- CVE-2026-56855 (golang.org/x/crypto)
- CVE-2026-78662 (golang.org/x/crypto)
- CVE-2026-81871 (go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc)
- CVE-2026-81872 (go.opentelemetry.io/otel/sdk/log)

CVE-2020-8911 (github.com/aws/aws-sdk-go) has no upstream fix. The
vulnerable service/s3/s3crypto package is not imported by any module
in this repo; aws-sdk-go is only used by the SNS receivers.

Refs grafana/alerting-squad#2185
@moustafab
moustafab requested a review from a team as a code owner October 7, 2026 01:40

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4eebe16. Configure here.

Comment thread apps/historian/go.sum
Add the missing /go.mod checksum lines for the bumped modules so the
historian module resolves outside the workspace and with -mod=readonly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants