Skip to content

fix(deps): remediate CLI Go vulnerabilities - #846

Open
plural-copilot[bot] wants to merge 1 commit into
mainfrom
agent/remediate-go-cli-cves-1795123654208
Open

plural-copilot[bot] wants to merge 1 commit into
mainfrom
agent/remediate-go-cli-cves-1795123654208

Conversation

@plural-copilot

Copy link
Copy Markdown
Contributor

Summary

  • build the CLI with Go 1.27.4 in both Docker stages and declare Go 1.27.4 in the module
  • update golang.org/x/crypto to v0.58.1-0.20261009181718-2f1f834330b2
  • update the OpenTelemetry SDK/trace module family to v1.47.0
  • regenerate the tidy module dependency/checksum graph, including the split OpenPGP module required by the x/crypto update

Findings addressed

  • CVE-2026-97054: Go stdlib 1.27.3 -> 1.27.4
  • GO-2026-5932: golang.org/x/crypto v0.58.0 -> fixed pseudo-version
  • CVE-2026-128085: go.opentelemetry.io/otel/sdk and /trace v1.45.0 -> v1.47.0

Validation

  • go mod verify
  • go test ./pkg/crypto ./pkg/utils/git ./pkg/scm using golang:1.27.4-alpine3.24 with Git installed
  • verified resolved module versions and diff whitespace
  • attempted a bounded Docker image build; the agent harness ended it during go mod download, so CI remains the full image-build validation

Follow-up

Console must rebuild and promote a new image after merge. The deployed Console image’s embedded /usr/local/bin/plural will not change until that rebuild occurs.

@plural-copilot plural-copilot Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This PR was generated by the codex Plural Agent Runtime. Here's some useful information you might want to know to evaluate the ai's perfomance:

Name Details
💬 Prompt Remediate the fixable Go vulnerabilities currently detected in the deployed ghcr.io/pluralsh/console:sha-0e96298 image's embedded /usr/local/bin/plural CLI. The Console image's Go binary is built from this repository (not pluralsh/console)....
🔗 Run history View run history

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgolang.org/​x/​crypto@​v0.58.0 ⏵ v0.58.1-0.20261009181718-2f1f834330b273100100100100
Updatedgithub.com/​stretchr/​testify@​v1.11.1 ⏵ v1.12.189 -6100100100100

View full report

@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with CI still needed to confirm the full build and tests.

Summary

Updates the CLI’s Go version and dependencies to address the listed security advisories.

  • Plural CLI builds now use Go 1.27.4.
  • Plural CLI builds use updated crypto and OpenTelemetry modules.

Reviews (1) · Last reviewed commit: "fix(deps): remediate CLI Go vulnerabilit..." · Reviewed by Greptile

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.

1 participant