Skip to content

openssh{_gssapi}: 10.3p1 -> 10.4p1 - #539452

Merged
dasJ merged 3 commits into
NixOS:staging-nixosfrom
numinit:openssh/10.4p1
Jul 9, 2026
Merged

dasJ merged 3 commits into
NixOS:staging-nixosfrom
numinit:openssh/10.4p1

Conversation

@numinit

@numinit numinit commented Jul 8, 2026 •

Copy link
Copy Markdown
Contributor

Changelog: https://www.openssh.org/txt/release-10.4

Marked for backport because there are a few non-critical security fixes and the worst breaking change seems to be sshd -G not outputting config directives in lowercase anymore.

seccomp is also now required (and will fail on kernels that don't support seccomp entirely, which is to say some < 4.x ancient history).

hpn patch is not yet updated (tried applying the patches, there are conflicts). gssapi patch is.

To staging-nixos since it rebuilds NixOS tests.

Things done

@numinit
numinit requested a review from philiptaron July 8, 2026 03:25
@numinit numinit added 1.severity: security Issues which raise a security issue, or PRs that fix one backport staging-nixos-26.05 Backport PR automatically labels Jul 8, 2026
nixpkgs-branch-check[bot]

This comment was marked as outdated.

@numinit
numinit marked this pull request as draft July 8, 2026 03:25
@numinit
numinit changed the base branch from master to staging-nixos July 8, 2026 03:25
@nixpkgs-ci nixpkgs-ci Bot closed this Jul 8, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Jul 8, 2026
@nixpkgs-branch-check
nixpkgs-branch-check Bot dismissed their stale review July 8, 2026 03:26

Review dismissed automatically

@numinit
numinit marked this pull request as ready for review July 8, 2026 03:27
@numinit numinit changed the title openssh: 10.3p1 -> 10.4p1 openssh{_gssapi}: 10.3p1 -> 10.4p1 Jul 8, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested review from a team, andir, dasJ and helsinki-Jo and removed request for a team July 8, 2026 03:32
@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. labels Jul 8, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team July 8, 2026 03:50
@LeSuisse LeSuisse linked an issue Jul 9, 2026 that may be closed by this pull request
@dasJ
dasJ added this pull request to the merge queue Jul 9, 2026
Merged via the queue into NixOS:staging-nixos with commit d7ec077 Jul 9, 2026
57 of 75 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for staging-nixos-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Jul 9, 2026
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 8.has: package (update) This PR updates a package to a newer version 8.has: port to stable This PR already has a backport to the stable release. 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. backport staging-nixos-26.05 Backport PR automatically

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

openssh: security issues < 10.4

2 participants