Skip to content

security: vulnerability remediation - #58

Open
kernel-internal[bot] wants to merge 1 commit into
mainfrom
security/vuln-remediation
Open

security: vulnerability remediation#58
kernel-internal[bot] wants to merge 1 commit into
mainfrom
security/vuln-remediation

Conversation

@kernel-internal

@kernel-internal kernel-internal Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Vulnerability Remediation

This PR was generated by the Socket-centric vulnerability remediation workflow. Review the planned dependency changes and confirmation evidence before merging.

Fixed

CVE/GHSA Package Ecosystem Old Version New Version Manifest Confirmation
GHSA-rg2x-37c3-w2rh github.com/docker/docker, github.com/google/go-containerregistry None v0.20.7 28.5.3-0.20260325120914-0afb41ce194c+incompatible confirmed

Not Included

  • Deferred by batch limit: 5 advisories. They will be considered by future runs.
  • Other deferred scanner findings: 1.
  • Unconfirmed attempted fixes: 0.
Deferred details
CVE/GHSA Package Reason
Unavailable from detector google.golang.org/grpc Non-CVE alert is not handled by dependency remediation.

Note

Medium Risk
Touches the dependency chain used by push (go-containerregistry/remote/daemon); behavior should be unchanged but container registry auth and push warrant a quick smoke test.

Overview
Security-focused dependency refresh for container image push/pull paths (GHSA-rg2x-37c3-w2rh). No application source changes—only go.mod / go.sum.

Bumps github.com/google/go-containerregistry from v0.20.7 to v0.21.7, which pulls in a newer Docker/Moby client stack instead of pinning github.com/docker/docker directly. The replace on github.com/docker/cli is removed; indirect deps move to github.com/docker/cli v29.5.3, moby/moby/api and moby/moby/client, and drop several older Docker/grpc/protobuf transitive modules. golang.org/x/sys and OpenTelemetry-related indirect versions are updated alongside routine lockfile churn.

Reviewed by Cursor Bugbot for commit e35dc68. Bugbot is set up for automated code reviews on this repo. Configure here.

Remediates GHSA-rg2x-37c3-w2rh (CVE-2026-42306, high): a race in docker cp
mount setup lets a malicious container redirect a bind mount to an
arbitrary host path.

The advisory lists no patched version for github.com/docker/docker; the
module stops at v28.5.2 and the fix only exists under the renamed
github.com/moby/moby/v2 path. Upgrading go-containerregistry 0.20.7 ->
0.21.7 drops the docker/docker requirement entirely in favour of
moby/moby/api and moby/moby/client, so none of the affected code is
compiled in any more (verified with go list -deps).

0.21.7 also requires docker/cli v29.5.3, so the replace directive pinning
cli to v29.2.0 is no longer needed and has been removed.

docker/docker v28.5.2 still appears in the module graph via
kernel/hypeman-go v0.20.0, which is the latest release; clearing that
needs a hypeman-go release and is tracked separately.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ulziibay-kernel
ulziibay-kernel force-pushed the security/vuln-remediation branch from 59bcdee to e35dc68 Compare July 31, 2026 18:07

@ulziibay-kernel ulziibay-kernel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Replaced the original pseudo-version pin, which moved out of the scanner's vulnerable range without containing the docker cp fix, with an upgrade to go-containerregistry 0.21.7. That drops github.com/docker/docker from the graph in favour of moby/moby/client; go list -deps confirms none of the affected code is linked. CI green.

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