Skip to content

[Backport staging-nixos-26.05] openssh{_gssapi}: 10.3p1 -> 10.4p1 - #539933

Merged
philiptaron merged 3 commits into
staging-nixos-26.05from
backport-539452-to-staging-nixos-26.05
Jul 10, 2026
Merged

philiptaron merged 3 commits into
staging-nixos-26.05from
backport-539452-to-staging-nixos-26.05

Conversation

@nixpkgs-ci

@nixpkgs-ci nixpkgs-ci Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Bot-based backport to staging-nixos-26.05, triggered by a label in #539452.

Before merging, ensure that this backport is acceptable for the release.

Even as a non-committer, if you find that it is not acceptable, leave a comment.

Tip

If you maintain all packages touched by this pull request, and they are all located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this PR using the nixpkgs-merge-bot.

@nixpkgs-ci nixpkgs-ci Bot added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Jul 9, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from numinit July 9, 2026 10:14
@nixpkgs-ci nixpkgs-ci Bot mentioned this pull request Jul 9, 2026
5 of 13 tasks
@nixpkgs-ci
nixpkgs-ci Bot requested review from a team, dasJ, helsinki-Jo, leona-ya and philiptaron and removed request for a team July 9, 2026 10:24
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 4.workflow: backport This targets a stable branch labels Jul 9, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team July 9, 2026 10:58
@crertel

crertel commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 539933 --package openssh_gssapi.tests --package openssh --package openssh_gssapi --package openssh.tests
Commit: 716b19304e9252a7857acca3ec73d4ad8bde65a9


x86_64-linux

❌ 1 package failed to build:
  • openssh_gssapi.tests.nixosTest
✅ 8 packages built:
  • openssh
  • openssh.tests.borgbackup-integration
  • openssh.tests.initrd-network-openssh
  • openssh.tests.nixosTest
  • openssh.tests.openssh
  • openssh_gssapi
  • openssh_gssapi.tests.borgbackup-integration
  • openssh_gssapi.tests.openssh

openssh_gssapi.tests.nixosTest
server-match-rule # [  102.973410] systemd[1]: sshd-keygen.service: Deactivated successfully.
server-match-rule # [  102.977451] systemd[1]: Finished SSH Host Keys Generation.
server-match-rule # [  102.980777] systemd[1]: sshd-keygen.service: Consumed 1.025s CPU time over 6.338s wall clock time, 2.9M memory peak.
server-match-rule # [  102.996421] systemd[1]: Starting SSH Daemon...
server-match-rule # [  104.656721] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console
kill QemuMachine (pid 42)
server-match-rule # qemu-system-x86_64: terminating on signal 15 from pid 6 (/nix/store/l9k0anq0z7zz81zcwy035jfwap9ga6rl-python3-3.13.13/bin/python3.13)
kill QemuMachine (pid 44)
server-no-openssl # qemu-system-x86_64: terminating on signal 15 from pid 6 (/nix/store/l9k0anq0z7zz81zcwy035jfwap9ga6rl-python3-3.13.13/bin/python3.13)
kill QemuMachine (pid 47)
server-no-pam # qemu-system-x86_64: terminating on signal 15 from pid 6 (/nix/store/l9k0anq0z7zz81zcwy035jfwap9ga6rl-python3-3.13.13/bin/python3.13)
kill QemuMachine (pid 51)
server-no-sshd-with-key # qemu-system-x86_64: terminating on signal 15 from pid 6 (/nix/store/l9k0anq0z7zz81zcwy035jfwap9ga6rl-python3-3.13.13/bin/python3.13)
kill QemuMachine (pid 53)
server-null-algorithms # qemu-system-x86_64: terminating on signal 15 from pid 6 (/nix/store/l9k0anq0z7zz81zcwy035jfwap9ga6rl-python3-3.13.13/bin/python3.13)
kill QemuMachine (pid 56)
server-null-pam # qemu-system-x86_64: terminating on signal 15 from pid 6 (/nix/store/l9k0anq0z7zz81zcwy035jfwap9ga6rl-python3-3.13.13/bin/python3.13)
kill QemuMachine (pid 62)
server-sftp # qemu-system-x86_64: terminating on signal 15 from pid 6 (/nix/store/l9k0anq0z7zz81zcwy035jfwap9ga6rl-python3-3.13.13/bin/python3.13)
(finished: cleanup, in 2.70 seconds)

@crertel

crertel commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 539933 --package openssh_gssapi --package openssh_gssapi.tests --package openssh --package openssh.tests
Commit: 716b19304e9252a7857acca3ec73d4ad8bde65a9


x86_64-linux

✅ 9 packages built:
  • openssh
  • openssh.tests.borgbackup-integration
  • openssh.tests.initrd-network-openssh
  • openssh.tests.nixosTest
  • openssh.tests.openssh
  • openssh_gssapi
  • openssh_gssapi.tests.borgbackup-integration
  • openssh_gssapi.tests.nixosTest
  • openssh_gssapi.tests.openssh

@philiptaron
philiptaron added this pull request to the merge queue Jul 10, 2026
Merged via the queue into staging-nixos-26.05 with commit fba69c5 Jul 10, 2026
32 checks passed
@philiptaron
philiptaron deleted the backport-539452-to-staging-nixos-26.05 branch July 10, 2026 03:16
c-vigo added a commit to vig-os/devkit that referenced this pull request Jul 10, 2026
…ump (#964)

## What & why

The nightly Scheduled Security Scan went red ([run
29079456127](https://github.com/vig-os/devcontainer/actions/runs/29079456127),
2026-07-10) at the blocking `vulnix-gate` on **CVE-2026-60002** — a
use-after-free in the OpenSSH **client** (`ssh(1)`, not `sshd`)
triggered when a malicious/compromised server changes its host key
during key re-exchange (CWE-416). CVSS 7.7 HIGH (MITRE) / 9.4 CRITICAL
(NVD).

Fixed upstream in **openssh 10.4p1** (2026-07-06), but the bump has
**not** reached any nixpkgs branch yet (all still `10.3p1`:
`nixos-26.05` pinned channel, `release-26.05`, `staging-26.05`,
`master`, `nixpkgs-unstable`). It is merged into the 26.05 staging
pipeline (nixpkgs
[#539452](NixOS/nixpkgs#539452) →
`staging-nixos`, backport
[#539933](NixOS/nixpkgs#539933) →
`staging-nixos-26.05`), so the "advance the rev" lever has nowhere to
land today.

## Change

Time-boxed `.vulnixignore` exception for CVE-2026-60002 (**expires
2026-07-24**) with full provenance/reachability rationale, matching the
curl #941 / podman #905 precedent, plus a `### Security` changelog entry
(root + mirrored scaffold copy). **Flip to a nixpkgs rev-advance** once
10.4p1 reaches `nixos-26.05`; the short expiry forces near-term
re-review.

## Verification

- `check-expirations` ✅ — 54 exceptions validated, none expired.
- `vulnix-gate` simulation ✅ — with CVE-2026-60002 present the gate now
**passes** (exit 0); a control un-excepted HIGH still **fails**,
confirming the gate itself still works.
- Full `pre-commit` suite green locally (incl. `sync-manifest`, so the
two changelog mirrors are consistent).

Targets `release/0.5.1` (release-cycle fix). Cherry-pick / forward to
`dev` separately since `main` is affected identically.

Refs: #963
vig-os-release-app Bot added a commit to vig-os/devkit-smoke-test that referenced this pull request Jul 10, 2026
# Release 0.5.1

This PR prepares release 0.5.1 for merge to main.

## [0.5.1] - TBD

### Changed

- **Smoke-test deploy of 0.5.1** -- automated devcontainer
release-pipeline validation; no functional changes
- **Renovate: update `github-backup` from `==0.63.0` to `==0.64.0`**
([#960](vig-os/devkit#960))
- **Renovate dependency update**
([#866](vig-os/devkit#866))
  - Update `aquasecurity/trivy` from `v0.71.2` to `v0.72.0`
  - Update `astral-sh/setup-uv` from `v8.3.1` to `v8.3.2`
  - Update `docker/login-action` from `v4.2.0` to `v4.4.0`
- **Renovate: update `github/codeql-action` from `8aad20d` to
`99df26d`** ([#862](vig-os/devkit#862))

### Fixed

- **Nested scaffold docs dropped by unanchored preserve excludes**
([#953](vig-os/devkit#953))
- `init-workspace.sh` built its rsync preserve excludes as
`--exclude=$name`, so bare `PRESERVE_FILES` entries (`README.md`,
`CHANGELOG.md`) matched by basename at every depth and silently dropped
devkit-authored nested docs (`.devcontainer/README.md`,
`.devcontainer/CHANGELOG.md`, `.claude/skills/*/README.md`) on `--force`
upgrades — files the `--preview` report still listed as ADDED. The
excludes are now root-anchored (`--exclude=/$name`), matching
`is_preserved_file`'s exact-path semantics: root docs stay preserved,
nested docs ship.
- **Imageless `--no-prompts` defaulted the org to a bogus `vigOS/devc`
literal** ([#954](vig-os/devkit#954))
- With no `ORG_NAME` env and no manifest `DEVKIT_ORG`, the org defaulted
to the hardcoded `vigOS/devc` — a `/`-bearing value that sed-substituted
into `{{ORG_NAME}}` in generated files (e.g. the LICENSE copyright
line). The default now derives from the `GITHUB_REPOSITORY` owner
segment (already resolved on this path via `DEVKIT_REPO`), falling back
to the literal `vigOS` only when no usable owner/repo is present.
- **Broken links, duplicate sections, and name/title mismatches in agent
skills** ([#912](vig-os/devkit#912))
- All `../../rules/*.mdc` links in `.claude/skills/` now point to the
correct skill files or `CLAUDE.md` (`.claude/rules/` was removed in
#626).
- `../docs/RELEASE_CYCLE.md` links in `pr_create` and `pr_post-merge`
corrected to `../../../docs/RELEASE_CYCLE.md`.
- Duplicate `## Delegation` sections removed from `ci_check`,
`worktree_ci-fix`, and `worktree_verify`.
- `solve-and-pr` skill now launches `/worktree_solve-and-pr`
(underscore, matching the real skill name).
- `worktree_pr` PR title format aligned with `pr_create`: no manual
issue number in title.
- Obsolete `.claude/commands/` wrappers deleted (superseded by skills
providing `/X` directly).

### Security

- **Accept the openssh 10.3p1 client use-after-free (CVE-2026-60002) in
the vulnix register pending the nixpkgs bump to 10.4p1**
([#963](vig-os/devkit#963))
- The 2026-07-10 nightly security scan went red at the blocking vulnix
gate on CVE-2026-60002 (CVSS 7.7 HIGH per MITRE, 9.4 CRITICAL per NVD):
a use-after-free in the OpenSSH **client** (`ssh(1)`, not `sshd`)
triggered when a malicious/compromised server changes its host key
during key re-exchange. `openssh` is in the image closure and the client
is reachable, but exploitation requires connecting out to an
attacker-controlled SSH server that mutates its host key mid-rekey —
bounded by the single-user dev model — so this is a time-boxed risk
acceptance, not a dismissal.
- Fixed upstream in openssh 10.4p1 (2026-07-06), but the bump has not
reached the pinned `nixos-26.05` channel (still 10.3p1, as are
`release-26.05`, `staging-26.05`, `master`, `nixpkgs-unstable`); it is
merged into the 26.05 staging pipeline (nixpkgs
[#539452](NixOS/nixpkgs#539452), backport
[#539933](NixOS/nixpkgs#539933)). Added a
short-dated `.vulnixignore` exception (expires 2026-07-24) to unblock
the gate; the block is dropped and the pin advanced once 10.4p1 lands in
`nixos-26.05`.
vig-os-release-app Bot added a commit to vig-os/devkit that referenced this pull request Jul 10, 2026
# [Release
0.5.1](https://github.com/vig-os/devcontainer/releases/tag/0.5.1) -
2026-07-10

This PR prepares release 0.5.1 for merge to main.

## [0.5.1](https://github.com/vig-os/devcontainer/releases/tag/0.5.1) -
2026-07-10

### Changed

- **Renovate: update `github-backup` from `==0.63.0` to `==0.64.0`**
([#960](#960))
- **Renovate dependency update**
([#866](#866))
  - Update `aquasecurity/trivy` from `v0.71.2` to `v0.72.0`
  - Update `astral-sh/setup-uv` from `v8.3.1` to `v8.3.2`
  - Update `docker/login-action` from `v4.2.0` to `v4.4.0`

- **Renovate: update `github/codeql-action` from `8aad20d` to
`99df26d`** ([#862](#862))

### Fixed

- **Nested scaffold docs dropped by unanchored preserve excludes**
([#953](#953))
- `init-workspace.sh` built its rsync preserve excludes as
`--exclude=$name`, so bare `PRESERVE_FILES` entries (`README.md`,
`CHANGELOG.md`) matched by basename at every depth and silently dropped
devkit-authored nested docs (`.devcontainer/README.md`,
`.devcontainer/CHANGELOG.md`, `.claude/skills/*/README.md`) on `--force`
upgrades — files the `--preview` report still listed as ADDED. The
excludes are now root-anchored (`--exclude=/$name`), matching
`is_preserved_file`'s exact-path semantics: root docs stay preserved,
nested docs ship.

- **Imageless `--no-prompts` defaulted the org to a bogus `vigOS/devc`
literal** ([#954](#954))
- With no `ORG_NAME` env and no manifest `DEVKIT_ORG`, the org defaulted
to the hardcoded `vigOS/devc` — a `/`-bearing value that sed-substituted
into `{{ORG_NAME}}` in generated files (e.g. the LICENSE copyright
line). The default now derives from the `GITHUB_REPOSITORY` owner
segment (already resolved on this path via `DEVKIT_REPO`), falling back
to the literal `vigOS` only when no usable owner/repo is present.

- **Broken links, duplicate sections, and name/title mismatches in agent
skills** ([#912](#912))
- All `../../rules/*.mdc` links in `.claude/skills/` now point to the
correct skill files or `CLAUDE.md` (`.claude/rules/` was removed in
#626).
- `../docs/RELEASE_CYCLE.md` links in `pr_create` and `pr_post-merge`
corrected to `../../../docs/RELEASE_CYCLE.md`.
- Duplicate `## Delegation` sections removed from `ci_check`,
`worktree_ci-fix`, and `worktree_verify`.
- `solve-and-pr` skill now launches `/worktree_solve-and-pr`
(underscore, matching the real skill name).
- `worktree_pr` PR title format aligned with `pr_create`: no manual
issue number in title.
- Obsolete `.claude/commands/` wrappers deleted (superseded by skills
providing `/X` directly).

### Security

- **Accept the openssh 10.3p1 client use-after-free (CVE-2026-60002) in
the vulnix register pending the nixpkgs bump to 10.4p1**
([#963](#963))
- The 2026-07-10 nightly security scan went red at the blocking vulnix
gate on CVE-2026-60002 (CVSS 7.7 HIGH per MITRE, 9.4 CRITICAL per NVD):
a use-after-free in the OpenSSH **client** (`ssh(1)`, not `sshd`)
triggered when a malicious/compromised server changes its host key
during key re-exchange. `openssh` is in the image closure and the client
is reachable, but exploitation requires connecting out to an
attacker-controlled SSH server that mutates its host key mid-rekey —
bounded by the single-user dev model — so this is a time-boxed risk
acceptance, not a dismissal.
- Fixed upstream in openssh 10.4p1 (2026-07-06), but the bump has not
reached the pinned `nixos-26.05` channel (still 10.3p1, as are
`release-26.05`, `staging-26.05`, `master`, `nixpkgs-unstable`); it is
merged into the 26.05 staging pipeline (nixpkgs
[#539452](NixOS/nixpkgs#539452), backport
[#539933](NixOS/nixpkgs#539933)). Added a
short-dated `.vulnixignore` exception (expires 2026-07-24) to unblock
the gate; the block is dropped and the pin advanced once 10.4p1 lands in
`nixos-26.05`.
@andir andir moved this from Needs Review to Reviewed in Nixpkgs security review Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 4.workflow: backport This targets a stable branch 8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants