Skip to content

fix: bump dependencies to address security advisories#377

Merged
matthyx merged 1 commit into
mainfrom
fix/security-advisories-20260526
May 26, 2026
Merged

fix: bump dependencies to address security advisories#377
matthyx merged 1 commit into
mainfrom
fix/security-advisories-20260526

Conversation

@matthyx
Copy link
Copy Markdown
Contributor

@matthyx matthyx commented May 26, 2026

Summary

Bumps vulnerable Go dependencies to patched versions to address known security advisories.

Package From To Advisory
github.com/cilium/cilium v1.17.14 v1.17.15 GHSA-gj49-89wh-h4gj (High)
github.com/anchore/syft v1.32.0 v1.42.3 GHSA-rjcw-vg7j-m9rc (Medium)
golang.org/x/net v0.53.0 v0.55.0 GO-2026-502x series
golang.org/x/crypto v0.50.0 v0.52.0 GO-2026-50xx series
golang.org/x/sys v0.43.0 v0.45.0 GO-2026-5024

Note on docker/docker and moby/moby: The requested target versions (v29.3.1) are not yet published to the Go module proxy under github.com/docker/docker or github.com/moby/moby. Both remain at v28.5.2+incompatible, which is already the latest version available in the proxy. This PR should be updated once v29.x is published.

Note on GHSA-x744-4wpc-v9h2 (moby/docker): Cannot be addressed yet as v29.3.1 is unavailable in the Go module proxy.

Compatibility fix

Upgrading anchore/syft to v1.42.3 transitively bumps the Go toolchain requirement to 1.25.8 and upgrades opencontainers/runtime-spec to v1.3.0. The v1.3.0 release changed LinuxPids.Limit from int64 to *int64, which is incompatible with containerd v1.7.32 (a transitive dep via inspektor-gadget). A replace directive pins runtime-spec to v1.2.1 to maintain build compatibility until containerd v1 is replaced by v2 in the dependency chain.

Test plan

  • go build ./... passes cleanly
  • go mod tidy produces no errors
  • CI passes

- github.com/cilium/cilium: v1.17.14 → v1.17.15 (GHSA-gj49-89wh-h4gj)
- github.com/anchore/syft: v1.32.0 → v1.42.3 (GHSA-rjcw-vg7j-m9rc)
- golang.org/x/net: v0.53.0 → v0.55.0 (GO-2026-502x series)
- golang.org/x/crypto: v0.50.0 → v0.52.0 (GO-2026-50xx series)
- golang.org/x/sys: v0.43.0 → v0.45.0 (GO-2026-5024)
- Pin opencontainers/runtime-spec to v1.2.1 for containerd v1.7.32 compatibility

Note: docker/docker and moby/moby v29.3.1 are not yet published to the
Go module proxy; they remain at v28.5.2+incompatible (already latest available).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 26, 2026

Warning

Review limit reached

@matthyx, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 20 minutes and 36 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: f1166e48-831f-4fe4-841a-44a28bbf58c8

📥 Commits

Reviewing files that changed from the base of the PR and between e9a86ab and f395b45.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/security-advisories-20260526

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

Summary:

  • License scan: success
  • Credentials scan: failure
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: failure

@matthyx matthyx added the release Create release label May 26, 2026
@matthyx matthyx merged commit 8ca96a7 into main May 26, 2026
10 of 11 checks passed
@matthyx matthyx deleted the fix/security-advisories-20260526 branch May 26, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Create release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant