Skip to content

chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed - #3805

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-golang.org-x-mod-vulnerability
Closed

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/go-golang.org-x-mod-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
golang.org/x/mod v0.35.0 → v0.40.0 age confidence

Fix transparency log tile verification bypass in golang.org/x/mod/sumdb/tlog

BIT-golang-2026-56865 / CVE-2026-56865 / GO-2026-6179

More information

Details

A malicious GOPROXY was previously capable of forging up to two sumdb tiles that allow for a requested module to bypass the GOSUMDB check and persist attacker-controlled module content to a local Go module cache.

This attack allows for a malicious GOPROXY to serve malicious module content that cannot be detected by evaluating the transparency log.

All tiles are now correctly verified against their parents.

In order to determine if you have been affected:

rm -r go.sum go.work.sum vendor/ && go mod tidy

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Ignore unrelated, unauthenticated hashes in Lookup in golang.org/x/mod/sumdb

BIT-golang-2026-56864 / CVE-2026-56864 / GO-2026-6180

More information

Details

A malicious GOSUMDB was capable of serving arbitrary module content not contained within the transparency log.

This attack allows for a coordinating GOPROXY and GOSUMDB to serve a client malicious module content that cannot be detected by evaluating the transparency log.

In order to determine if you have been affected:

rm -r go.sum go.work.sum vendor/ && go mod tidy

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added automated Created by automation security Security-related issues and features labels Aug 14, 2026
@renovate

renovate Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 7 additional dependencies were updated

Details:

Package Change
golang.org/x/crypto v0.52.0 -> v0.55.0
golang.org/x/net v0.55.0 -> v0.58.0
golang.org/x/sync v0.20.0 -> v0.22.0
golang.org/x/sys v0.45.0 -> v0.47.0
golang.org/x/term v0.43.0 -> v0.45.0
golang.org/x/text v0.37.0 -> v0.41.0
golang.org/x/tools v0.44.0 -> v0.49.0

@github-actions github-actions Bot added area/dependencies Dependency bumps (Renovate, go.mod); scope `deps` kind/cleanup Categorizes issue or PR as related to cleanup of code, process, or technical debt size/S This PR changes 10-29 lines, ignoring generated files labels Aug 14, 2026
@renovate
renovate Bot force-pushed the renovate/go-golang.org-x-mod-vulnerability branch 2 times, most recently from 26c29e1 to 6a0f16c Compare August 18, 2026 12:47
@renovate
renovate Bot force-pushed the renovate/go-golang.org-x-mod-vulnerability branch from 6a0f16c to cdb1eae Compare August 26, 2026 10:25
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed Aug 27, 2026
@renovate renovate Bot closed this Aug 27, 2026
@renovate
renovate Bot deleted the renovate/go-golang.org-x-mod-vulnerability branch August 27, 2026 12:56
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed chore(deps): update module golang.org/x/mod to v0.40.0 [security] Aug 27, 2026
@renovate renovate Bot reopened this Aug 27, 2026
@renovate
renovate Bot force-pushed the renovate/go-golang.org-x-mod-vulnerability branch 3 times, most recently from e1a8005 to 50f0791 Compare August 28, 2026 08:53
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed Aug 28, 2026
@renovate renovate Bot closed this Aug 28, 2026
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed chore(deps): update module golang.org/x/mod to v0.40.0 [security] Aug 28, 2026
@renovate renovate Bot reopened this Aug 28, 2026
@renovate
renovate Bot force-pushed the renovate/go-golang.org-x-mod-vulnerability branch 3 times, most recently from 028648c to 03037bb Compare September 2, 2026 14:22
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed Sep 2, 2026
@renovate renovate Bot closed this Sep 2, 2026
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed chore(deps): update module golang.org/x/mod to v0.40.0 [security] Sep 2, 2026
@renovate renovate Bot reopened this Sep 2, 2026
@renovate
renovate Bot force-pushed the renovate/go-golang.org-x-mod-vulnerability branch 2 times, most recently from 03037bb to 4ed3bc2 Compare September 2, 2026 20:49
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed Sep 2, 2026
@renovate renovate Bot closed this Sep 2, 2026
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed chore(deps): update module golang.org/x/mod to v0.40.0 [security] Sep 2, 2026
@renovate renovate Bot reopened this Sep 2, 2026
@renovate
renovate Bot force-pushed the renovate/go-golang.org-x-mod-vulnerability branch 3 times, most recently from eedc521 to d9f09b0 Compare September 7, 2026 16:28
@renovate
renovate Bot force-pushed the renovate/go-golang.org-x-mod-vulnerability branch from d9f09b0 to d7046c3 Compare September 15, 2026 09:50
@coderabbitai

coderabbitai Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: cozystack/cozystack/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: d950dc01-08d1-4e1d-a5b9-0689c0787a0d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@renovate
renovate Bot force-pushed the renovate/go-golang.org-x-mod-vulnerability branch from d7046c3 to 7e24455 Compare September 16, 2026 10:53
@renovate
renovate Bot force-pushed the renovate/go-golang.org-x-mod-vulnerability branch 2 times, most recently from 5189ccc to 37c65fc Compare September 24, 2026 09:32
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed Sep 24, 2026
@renovate renovate Bot closed this Sep 24, 2026
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed chore(deps): update module golang.org/x/mod to v0.40.0 [security] Sep 24, 2026
@renovate renovate Bot reopened this Sep 24, 2026
@renovate
renovate Bot force-pushed the renovate/go-golang.org-x-mod-vulnerability branch from 37c65fc to a49b2e3 Compare September 24, 2026 16:26
Aleksei Sviridkin (lexfrei) added a commit that referenced this pull request Sep 26, 2026
…4447)

## What this PR does

This replaces the open Renovate PRs with one rollup. Go modules move to
their newest releases that keep the Kubernetes libraries and
controller-runtime where they are, the toolchain and builder images move
to Go 1.27.1, and the first-party code gets the Go 1.27 modernizers.
Tests for the code the bumps touch come first, in their own commits, and
pass on both the old and the new dependencies.

Before the bumps:

- The e2e sandbox image builds again: dl.min.io answers 410 for mc since
MinIO archived it, so mc now comes from its last GitHub release with a
pinned checksum.
- Renovate stops offering tags of the apimachinery fork. They mirror
upstream, so #2999 is a downgrade that drops our patch.
- `make unit-tests` now runs the tests of the nested Go modules
(kubevirt-csi-driver, token-proxy, kubeovn-webhook, api/apps/v1alpha1).
They never ran in CI before.
- New tests: JWT verification in the dashboard token proxy, the kube-ovn
plunger metrics, cert-manager object idempotency in the tenant gateway,
values-file layering in the operator, and the kubevirt CSI driver
wrapper.
- One real fix. The lineage webhook decoded admitted objects with
encoding/json, so an int64 above 2^53 came back rounded. jsonpatch v2.5
compares numbers exactly and would emit a replace that rewrites such a
field in the pod. The webhook now decodes with apimachinery's json.

Held back on purpose, with the reasons in the commit messages:

- Kubernetes libraries stay on v0.35. #3001 needs the apimachinery fork
rebased onto release-1.37 first.
- cel-go v0.29.2 and etcd v3.6.15, the lines k8s.io/apiserver v0.35 is
built and tested with.
- grpc v1.83.2. v1.84.0 is affected by GO-2026-6443 and no v1.84 patch
release carries the fix yet.
- kubevirt.io/api and the CDI API stay on what upstream csi-driver
builds against. From CDI v1.60 it no longer compiles.
- api/apps/v1alpha1 keeps go 1.26.4, so consumers of the published types
are not forced onto Go 1.27.
- go fix runs without embedlit (Go 1.27-only syntax, breaks backports to
release branches on Go 1.26) and omitzero (would make metadata, spec and
status required in the published OpenAPI schemas), and one errorsastype
rewrite that did not compile is left out.

govulncheck reports nothing reachable in any of the five modules,
standard library included.

Supersedes #4311, #4310, #4309, #3452, #3993, #3927, #3902, #3805,
#3451, #3415, #3414, #3413, #3302, #4050 and #3363. #3001 stays open.

Not checked locally: the images that build upstream projects (kube-ovn,
kamaji, cilium, linstor-csi and others) with the Go 1.27 builder. The
image build jobs of this PR cover them.

Closes #4487.

### Screenshots

No UI changes.

### Downstream repositories

- [x] No downstream repository is affected by this change
- [ ] [cozystack/website](https://github.com/cozystack/website) -
follow-up:
- [ ]
[cozystack/terraform-provider-cozystack](https://github.com/cozystack/terraform-provider-cozystack)
- follow-up:
- [ ]
[cozystack/ansible-cozystack](https://github.com/cozystack/ansible-cozystack)
- follow-up:
- [ ] [cozystack/ccp](https://github.com/cozystack/ccp) - follow-up:
- [ ] [cozystack/talm](https://github.com/cozystack/talm) - follow-up:
- [ ] [cozystack/cozyhr](https://github.com/cozystack/cozyhr) -
follow-up:
- [ ] [cozystack/cozy-proxy](https://github.com/cozystack/cozy-proxy) -
follow-up:
- [ ]
[cozystack/cozystack-telemetry-server](https://github.com/cozystack/cozystack-telemetry-server)
- follow-up:
- [ ]
[cozystack/external-apps-example](https://github.com/cozystack/external-apps-example)
- follow-up:
- [ ] [cozystack/examples](https://github.com/cozystack/examples) -
follow-up:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:

### Release note

```release-note
chore(deps): move the toolchain and builder images to Go 1.27.1 and raise Go dependencies to their latest compatible releases, closing the published advisories; the lineage webhook no longer rewrites int64 fields above 2^53 in admitted objects.
```


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
  * Added a restore resource policy option for Velero strategies.
  * Added a test target to run Go tests across tracked modules.
* **Bug Fixes**
* Updated the end-to-end test environment to download and verify the
MinIO client from its current release location.
* Added coverage for token validation, webhook patching, controller
behavior, and reconciliation.
* **Maintenance**
* Updated the Go toolchain, dependencies, and container image versions.
  * Refreshed pinned workflow actions and base image digests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@renovate renovate Bot changed the title chore(deps): update module golang.org/x/mod to v0.40.0 [security] chore(deps): update module golang.org/x/mod to v0.40.0 [security] - autoclosed Sep 26, 2026
@renovate renovate Bot closed this Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependencies Dependency bumps (Renovate, go.mod); scope `deps` automated Created by automation kind/cleanup Categorizes issue or PR as related to cleanup of code, process, or technical debt security Security-related issues and features size/S This PR changes 10-29 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants