You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[VULN-59766] chore(deps): migrate from github.com/docker/docker to github.com/moby/moby
Migrate all direct imports of github.com/docker/docker to the
equivalent github.com/moby/moby sub-modules (client v0.2.2 and
api v1.53.0), eliminating the vulnerable dependency from production
and test code.
Production code:
- pkg/fanal/image/daemon: migrate Docker client, types, and API calls
to moby/moby/client and moby/moby/api/types/image
- pkg/fanal/artifact/container: replace docker/docker/pkg/system with
containerd/continuity/sysx for Lgetxattr
Test code:
- Replace HostConfigModifier callbacks with AutoRemove field on
testcontainers.ContainerRequest in all integration tests
- Migrate all test imports from docker/docker to moby/moby equivalents
- Update test expected values for the new InspectResponse type
go.mod:
- Add direct dependencies on moby/moby/client and moby/moby/api
- docker/docker demoted to indirect (transitive only)
- Add replace directive redirecting docker/docker to patched moby/moby
27.x branch commit (v27.5.2-0.20250218170852-77446557b0f8)
Jira: VULN-59766, VULN-59767, VULN-59774, VULN-59775
Jira: CONTINT-5217, CONTINT-5218, CONTINT-5219, CONTINT-5220
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments