Repository navigation
fix(security): except openssh CVE-2026-60002 pending nixpkgs 10.4p1 bump - #964
Merged
c-vigo merged 1 commit intoJul 10, 2026
Merged
Conversation
c-vigo
added a commit
that referenced
this pull request
Jul 10, 2026
…966) ## What & why Restores the deduplicated **auto-issue on scan failure** that was lost in the Debian→Nix cutover (`1d4e9db1`), so a red nightly vulnix gate surfaces as a GitHub issue rather than a silent red run. Full root-cause history in #965. The trigger case was 2026-07-10 ([run 29079456127](https://github.com/vig-os/devcontainer/actions/runs/29079456127), CVE-2026-60002, fixed in #963/#964) — the first gate failure to reach `main` post-0.5.0 with no issue-creation step, so it had to be caught by hand. ## Change (single file: `.github/workflows/security-scan.yml`) - Grant the `scan-nix-image` job `issues: write`. - New step **"Open a tracking issue when the vulnix gate fails"**, gated on `failure() && steps.vulnix-gate.outcome == 'failure'` (so infra/scan crashes don't file a "findings" issue). - Adapted from the old Debian step, with two improvements: - **Dedup by the auto-issue's distinctive title**, not the `security-scan` label alone — the old label-only dedup would now false-match human-filed `security-scan` issues (e.g. #963, this #965) and never fire. - **Refreshes the stale label description** (`--force`): was *"...for :latest image"*, now the Nix image. - Body links the run + the `nix-image-cve-scan` artifact (`vulnix-findings.json`/`vulnix-report.txt`) and gives the remediate path (advance the pin or add a time-boxed `.vulnixignore` exception). - Updated two stale doc comments (header "On failure" note; the old "can be added alongside the publish-cutover" TODO). ## Verification - Full `pre-commit` suite green (yamllint, check-action-pins — no new pinned action, `gh` CLI only). - Embedded `run:` script `shellcheck`-clean and dry-run rendered: search arg `"Nightly security scan: …" in:title` and the heredoc body (backticks literal, `$(date)`/`${RUN_URL}` expanded) both correct. **Not changelog-tracked** (`ci` scope, maintainer-facing CI infra). Targets `release/0.5.1` so 0.5.1 ships with working alerting. Refs: #965
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.
What & why
The nightly Scheduled Security Scan went red (run 29079456127, 2026-07-10) at the blocking
vulnix-gateon CVE-2026-60002 — a use-after-free in the OpenSSH client (ssh(1), notsshd) 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.05pinned channel,release-26.05,staging-26.05,master,nixpkgs-unstable). It is merged into the 26.05 staging pipeline (nixpkgs #539452 →staging-nixos, backport #539933 →staging-nixos-26.05), so the "advance the rev" lever has nowhere to land today.Change
Time-boxed
.vulnixignoreexception for CVE-2026-60002 (expires 2026-07-24) with full provenance/reachability rationale, matching the curl #941 / podman #905 precedent, plus a### Securitychangelog entry (root + mirrored scaffold copy). Flip to a nixpkgs rev-advance once 10.4p1 reachesnixos-26.05; the short expiry forces near-term re-review.Verification
check-expirations✅ — 54 exceptions validated, none expired.vulnix-gatesimulation ✅ — with CVE-2026-60002 present the gate now passes (exit 0); a control un-excepted HIGH still fails, confirming the gate itself still works.pre-commitsuite green locally (incl.sync-manifest, so the two changelog mirrors are consistent).Targets
release/0.5.1(release-cycle fix). Cherry-pick / forward todevseparately sincemainis affected identically.Refs: #963