Skip to content

chore(deps): update all dependencies to resolve Dependabot alerts - #1647

Open
iwilltry42 wants to merge 2 commits into
mainfrom
chore/update-deps
Open

chore(deps): update all dependencies to resolve Dependabot alerts#1647
iwilltry42 wants to merge 2 commits into
mainfrom
chore/update-deps

Conversation

@iwilltry42

Copy link
Copy Markdown
Member

Summary

  • Update all vulnerable dependencies across the three workspace modules (root, tools/, docgen/) to address 32 open Dependabot security alerts (3 critical, 9 high, 16 medium, 4 low)
  • Update pymdown-extensions in docs/requirements.txt to fix the remaining pip alert
  • Pin moby/go-archive to v0.1.0 to maintain compatibility with docker/docker's deprecated pkg/archive shim

Dependency changes

Package Before After
docker/docker v20.10.24 / v27.0.3 / v28.3.1 v28.5.2
docker/cli v20.10.17 / v28.3.1 v28.5.2
containerd/containerd v1.6.18 v1.7.29 (docgen); removed from tools
opencontainers/runc v1.1.14 removed (no longer in dep graph)
golang.org/x/crypto v0.22.0 v0.47.0
golang.org/x/net v0.24.0 / v0.26.0 / v0.28.0 v0.49.0
golang.org/x/oauth2 v0.0.0-20220411 v0.34.0
sirupsen/logrus v1.9.0 v1.9.3
pymdown-extensions 10.3.1 10.20.1

Also updates transitive deps: golang.org/x/sys, x/text, x/term, x/sync, x/mod, google.golang.org/grpc, google.golang.org/protobuf, go.opentelemetry.io/otel/*, and others.

Alerts not fully resolved

Test plan

  • make build passes
  • go build ./tools/... and go build ./docgen/... pass
  • go test ./... — all 6 test packages pass
  • make check (fmt + lint) — 0 issues
  • govulncheck ./... — 0 third-party dependency vulnerabilities

Update vulnerable dependencies across all three workspace modules
(root, tools/, docgen/) to address 32 open Dependabot security alerts:

- docker/docker: v20.10.24/v27.0.3/v28.3.1 -> v28.5.2 (critical, high, medium, low)
- containerd/containerd: v1.6.18 -> v1.7.29 (high, medium)
- opencontainers/runc: v1.1.14 -> removed from dep graph (high)
- golang.org/x/crypto: v0.22.0 -> v0.47.0 (critical, high, medium)
- golang.org/x/net: v0.24.0/v0.26.0/v0.28.0 -> v0.49.0 (medium)
- golang.org/x/oauth2: v0.0.0-20220411 -> v0.34.0 (high)
- sirupsen/logrus: v1.9.0 -> v1.9.3 (high)
- pymdown-extensions: 10.3.1 -> 10.20.1 (low)

Also updates transitive dependencies: golang.org/x/sys, golang.org/x/text,
golang.org/x/term, golang.org/x/sync, golang.org/x/mod, google.golang.org/grpc,
google.golang.org/protobuf, go.opentelemetry.io/otel/*, docker/cli, and others.

Pin moby/go-archive to v0.1.0 across all modules to maintain compatibility
with docker/docker's deprecated pkg/archive shim.
Resolves the remaining 14 stdlib vulnerabilities reported by govulncheck
(crypto/tls, crypto/x509, net/url, net/http, archive/tar, encoding/asn1,
encoding/pem, net/mail, os/exec).

Updated in: go.mod, go.work, tools/go.mod, docgen/go.mod, Dockerfile,
tools/Dockerfile, .github/workflows/release.yaml.
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