fix: update nix to 2.34.6 for GHSA-g3g9-5vj6-r3gj#2109
Open
fix: update nix to 2.34.6 for GHSA-g3g9-5vj6-r3gj#2109
Conversation
PostgreSQL Extension Dependency Analysis: PR #2109
SummaryNo extensions had dependencies with MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Extension DependenciesPostgreSQL 17 Extension DependenciesOrioleDB 17 Extension Dependencies |
PostgreSQL Package Dependency Analysis: PR #2109
SummaryNo packages had MAJOR version updates. Full Analysis ResultsPostgreSQL 15 Dependency ChangesExtracting PostgreSQL 15 dependencies...
Runtime Closure Size
Raw Dependency ClosurePostgreSQL 17 Dependency ChangesExtracting PostgreSQL 17 dependencies...
Runtime Closure Size
Raw Dependency Closure |
soedirgo
approved these changes
Apr 9, 2026
c95f9ba to
3b57bef
Compare
staaldraad
approved these changes
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates Nix installer from 2.33.2 to 2.34.6 across all Dockerfiles, provisioning scripts, CI actions, and documentation to apply the nixpkgs-provided patch for GHSA-g3g9-5vj6-r3gj.
Vulnerability: A bug in the original CVE-2024-27297 fix allowed arbitrary file overwrites by the Nix daemon (running as root) via symlink following during fixed-output derivation output registration. In multi-user installations, any user able to submit builds to the Nix daemon could escalate to root privileges.
Why 2.34.6 and not 2.33.4: Upstream nixpkgs dropped the 2.33 series on 2026-04-01 and did not backport the CVE patch to that line. The patch was applied to
nix_2_34on 2026-04-07 (see7ca89c4ab606"nixComponents_2_34: add patches for GHSA-g3g9-5vj6-r3gj"), andnix_2_34is now the actively-maintained nixpkgs stable. The self-hosted aarch64-darwin runners resolve their Nix version through nixpkgs, so to keep ephemeral CI and self-hosted runners on matching, patched versions we move everything to2.34.6.Why version parity matters (context on previous merge-queue failures)
Earlier attempts to land this PR targeted
2.33.4, but the aarch64-darwin self-hosted runners continued to use the nixpkgs-pinned version (2.33.3). The mismatch between the ephemeral installer and the self-hosted builders produced cache misses that pushedNix CIto 1h 43m – 4h 12m (vs. ~30 min for other PRs), causing the merge queue to time out before CI completed. A coordinated update of the self-hosted runner flake tonix_2_34lands alongside this change.Files changed
Dockerfile-15,Dockerfile-17,Dockerfile-orioledb-17,Dockerfile-multigres— installer URL.github/actions/nix-install-ephemeral/action.yml— CI installer versionscripts/nix-provision.sh— provisioning scriptebssurrogate/scripts/qemu-bootstrap-nix.sh— AMI build scriptansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh— upgrade scriptnix/docs/start-here.md,docs/multigres-image.md— documentationTest plan
nix_2_34before queueing