Skip to content

fix(security): advance nixpkgs pin and drop the gawk exception block - #1340

Merged
c-vigo merged 2 commits into
devfrom
chore/1328-advance-nixpkgs-pin
Aug 4, 2026
Merged

c-vigo merged 2 commits into
devfrom
chore/1328-advance-nixpkgs-pin

Conversation

@c-vigo

@c-vigo c-vigo commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Description

Advances the pinned nixpkgs rev so the gawk exception block can be deleted
rather than renewed a third time
, per #1328.

nixos-26.05 started shipping gawk 5.4.1 on 2026-08-03. The block
(CVE-2026-40467, -40468, -40469, -40553, from the 2026-07-14 CERT-PL batch,
#1071) only ever existed because the fix sat in nixpkgs staging as a stdenv
mass-rebuild, leaving the "advance the rev" lever with nowhere to land — which
is why it was extended at #1240 and again at the #1273 pin advance. The lever is
now available, and the block would have lapsed on 2026-08-19.

Closes #1328

Type of Change

  • fix -- Bug fix
  • build -- Build system or dependency changes

Modifiers

  • Breaking change (!)

Changes Made

  • flake.lock: nixpkgs (nixos-26.05) 8623c4c2 (2026-07-26) → 531670d8
    (2026-08-03). Only the nixpkgs node moves (3 lines).
  • .vulnixignore: the gawk block is removed and replaced with a tombstone note
    recording why, matching the convention Reconcile .vulnixignore: new libssh2 CVE batch blocks the gate, two exceptions lapsed 2026-08-03 #1327 used for the entries it pruned.
  • .vulnixignore: the four retained "awaiting upstream" blocks get a 2026-08-04
    re-verification line against the new rev.
  • CHANGELOG.md + the assets/workspace/.devcontainer/ mirror (via
    just sync-workspace).

Changelog Entry

### Security

- **Advance the nixpkgs pin and drop the gawk exception block** ([#1328](https://github.com/vig-os/devkit/issues/1328))
  - Advanced the pinned `nixpkgs` rev (`flake.lock`) from nixos-26.05
    @ `8623c4c2` (2026-07-26) to @ `531670d8` (2026-08-03), which is the first
    pinned-channel rev to ship **gawk 5.4.1**. The rebuilt closure confirms it.
  - Removed the gawk 5.4.0 CERT-PL block (CVE-2026-40467, -40468, -40469,
    -40553) instead of renewing it a third time. It had been extended at #1240
    and again at the #1273 pin advance only because the fix sat in nixpkgs
    `staging` as a stdenv mass-rebuild, leaving the "advance the rev" lever with
    nowhere to land.
  - The before/after `vulnix` closure diff is exactly those four CVEs
    (59 → 55 unique advisories) with nothing new appearing, and the gate passes
    on 27 exceptions (down from 31).
  - The rest of the register was re-verified against the new rev and nothing
    else became droppable: fzf (0.72.0), libssh2 (1.11.1, still carrying no
    6603x patch), unbound (1.25.1) and podman (5.8.2) are all unchanged, so
    those blocks are retained with a 2026-08-04 re-verification note.

Testing

  • Manual testing performed (below)

Manual Testing Details

Both closures were built locally and scanned with the same command the nightly
security-scan.yml runs (vulnix --mirror https://vig-os.github.io/nvd-mirror/ --closure ...).

Closure contents

Package Old pin 8623c4c2 New pin 531670d8
gawk 5.4.0 5.4.1
fzf 0.72.0 0.72.0
libssh2 1.11.1 1.11.1
unbound 1.25.1 1.25.1
podman 5.8.2 5.8.2

Findings diff (nix build .#devkitImageEnv on each pin)

  • Before: 18 finding groups / 59 unique CVEs
  • After: 16 finding groups / 55 unique CVEs
  • Dropped: CVE-2026-40467, CVE-2026-40468, CVE-2026-40469, CVE-2026-40553
  • Added: (none)

Gates

  • uv run check-expirations .vulnixignore → Validated 27 exception(s)
  • uv run vulnix-gate vulnix-after.json --register .vulnixignore →
    No unexcepted HIGH/CRITICAL findings (CVSS >= 7.0); 27 exception(s) applied
    (was 31 exceptions before the prune)
  • nix build .#devkitImage succeeds on the new pin
  • just precommit (full suite, all files) green

Checklist

  • I have performed a self-review of my code
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective — n/a, this is a
    dependency-pin and exception-register change; the vulnix gate and
    check-expirations are the tests, and both are exercised above and in CI.

Additional Notes

The register is otherwise unchanged. The three git CPE-mismatch entries stay
even though vulnix does not currently report them — #1327 deliberately keeps
Class-1 false positives on a yearly re-check in case the NVD CPE data is
corrected.

Note this is a stdenv mass-rebuild, so the image layers change wholesale even
though only gawk moves version; CI will need to repopulate cachix.

Refs: #1328

c-vigo added 2 commits August 4, 2026 10:14
gawk 5.4.1 reached nixos-26.05 on 2026-08-03, so the pin advance in this branch
(8623c4c2 -> 531670d8) finally gives the "advance the rev" lever somewhere to
land. Remove the 2026-07-14 CERT-PL block (CVE-2026-40467, -40468, -40469,
-40553) outright instead of renewing it a third time after #1240 and #1273.

The before/after vulnix closure diff over the rebuilt image env is exactly those
four CVEs (59 -> 55 unique advisories, nothing new), and vulnix-gate passes on 27
exceptions, down from 31.

Re-verified the rest of the register against the new rev: fzf 0.72.0, libssh2
1.11.1 (still carrying no 6603x patch), unbound 1.25.1 and podman 5.8.2 are all
unchanged, so nothing else became droppable; those blocks keep their exceptions
with a 2026-08-04 re-verification note.

Refs: #1328
@c-vigo
c-vigo merged commit 04f955f into dev Aug 4, 2026
15 checks passed
@c-vigo
c-vigo deleted the chore/1328-advance-nixpkgs-pin branch August 4, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant