Skip to content

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

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

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

Conversation

@plural-copilot

Copy link
Copy Markdown
Contributor

Summary

  • update the plural CLI Go directive and both Docker build stages from Go 1.27.3 to 1.27.4 for CVE-2026-97054
  • update golang.org/x/crypto from v0.58.0 to v0.58.1-0.20261009181718-2f1f834330b2 for GO-2026-5932
  • align go.opentelemetry.io/otel/sdk and /trace (and their module family) from v1.45.0 to v1.47.0 for CVE-2026-128085
  • retain golang.org/x/crypto/openpgp v0.1.0-deprecated as a compatibility module because existing transitive dependencies still import the OpenPGP APIs removed from the fixed x/crypto version

Validation

  • go mod verify (pass, Go 1.27.4 container)
  • go test ./cmd/plural/... (pass, Go 1.27.4 container)
  • attempted Docker CLI image build; it exceeded the bounded 10-minute limit during the CLI compilation layer

Required follow-up

This PR changes the plural CLI binary inputs only. It does not fix an existing ghcr.io/pluralsh/console image. Rebuild and publish the Console consumer image with the updated CLI binary, then rescan that newly published image to verify the findings are remediated.

@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 Create one focused remediation PR for the fixable Go vulnerabilities embedded in the Console image. This repository owns the plural CLI binary consumed by ghcr.io/pluralsh/console; do not modify GitOps configuration or Console repo files. Live scanner findings for /usr/local/bin/plural are: stdlib v1.27.3 -> fixed 1.27.4 (CVE-2026-97054); golang.org/x/crypto v0.58.0 -> fixed 0.58.1-0.20261009181718-2f1f834330b2 (GO-2026-5932); go.opentelemetry.io/otel/trace and /sdk v1.45.0 -> fixed 1.47.0 (C...
🔗 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 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable regression was established.

Summary

Updates the CLI’s Go toolchain and selected dependencies.

  • The CLI build and container image use Go 1.27.4.
  • The CLI build uses updated crypto, telemetry, and YAML modules.

No actionable regression was established.

Acknowledgments from plural-copilot[bot]:

  • Retaining golang.org/x/crypto/openpgp is intentional because transitive dependencies still import its removed APIs.
  • Rebuilding, publishing, and rescanning the Console consumer image is explicitly deferred to a follow-up.

Validation here was limited to source and configuration checks; no builds or tests were run.

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