Repository navigation
fix(security): except gawk 5.4.0 CVE batch pending nixpkgs 5.4.1 bump - #1072
Merged
Merged
Conversation
The 1.2.0-rc1 publish failed at the blocking vulnix gate on four gawk 5.4.0 findings disclosed by CERT-PL on 2026-07-13 (CVE-2026-40467/-40468/ -40469/-40553). All are fixed upstream in gawk 5.4.1, but the nixpkgs bump (NixOS/nixpkgs#540158) merged to staging only (stdenv mass-rebuild) and has not reached any release branch, so no rev-advance is possible today. Accept the batch in the exception register with per-CVE rationale and a short 2026-07-28 expiry to force re-review once 5.4.1 lands in nixos-26.05. Refs: #1071
c-vigo
enabled auto-merge
July 14, 2026 16:43
c-vigo
added a commit
that referenced
this pull request
Jul 15, 2026
…ix (#1098) ## Summary The nightly vulnix gate ([run 29396607272](https://github.com/vig-os/devkit/actions/runs/29396607272)) went red on two **new** HIGH/CRITICAL findings in `perl 5.42.0`. Running the real `vulnix-gate` against the run's `vulnix-findings.json` with the live register confirmed these are the **only** blocking findings — every other reported CVE (curl, gawk, openssh, glibc, openssl, …) is still masked by a non-expired exception. | CVE | CVSS | Description | |-----|------|-------------| | CVE-2026-13221 | 9.1 | 16-bit trie-delta overflow in `Perl_study_chunk`; regex alternations of >65535 fixed branches silently miscompile (false pos/neg matches). Correctness bug; needs a pathological developer-authored pattern. | | CVE-2026-57432 | 8.4 | Integer overflow in `S_measure_struct` → OOB heap read in `pack`/`unpack` when the template derives from untrusted input (info disclosure). | ## Remediation Both fixes exist **only in the perl 5.43.x development series** (fixed in 5.43.10). Stable perl is 5.42.0 in the pinned rev, `nixos-26.05`, **and** Debian stable — all unpatched, no backport — so the "advance the rev" lever has nowhere to land today. `perl` is in-closure via git's perl-based subcommands (send-email/instaweb), same provenance as the existing CVE-2026-4176 entry, and processes developer/CI-chosen inputs only (no untrusted-input path in the single-user dev model). This PR adds a **time-boxed `.vulnixignore` exception** (`Expiration: 2026-08-14`) with a verified rationale, mirroring the #1071/#1072 gawk triage. Flip to a nixpkgs rev-advance once a patched perl reaches the pinned channel. ## Verification - `vulnix-gate` against the run's artifact with the edited register: **0 blocking findings** (was 2). - `check-expirations`: all 60 exceptions validated. - `just precommit` (full suite, `--all-files`): green. Closes #1094
This was referenced Jul 21, 2026
c-vigo
added a commit
that referenced
this pull request
Jul 21, 2026
## What Extend the `.vulnixignore` exception for the gawk 5.4.0 CERT-PL CVE batch (`CVE-2026-40467`/`-40468`/`-40469`/`-40553`, originally #1071 / #1072) from `Expiration: 2026-07-28` to `2026-08-18`, and record the extension in the `## Unreleased` → `### Security` changelog section. ## Why The exception was short-dated to force a re-check once the fix lands in the pinned nixpkgs channel and we can flip to a rev-advance. That has not happened yet, so the exception would otherwise lapse and re-fail the vulnix gate. ## Upstream evidence (re-verified 2026-07-21 via raw.githubusercontent.com) | nixpkgs branch | `pkgs/tools/text/gawk/default.nix` | |----------------|-------------------------------------| | `nixos-26.05` (pinned channel) | `version = "5.4.0"` — still vulnerable | | `release-26.05` | `version = "5.4.0"` — still vulnerable | | `staging` | `version = "5.4.1"` — fixed | The fix (gawk 5.4.1, `NixOS/nixpkgs#540158`) merged to `staging` on 2026-07-12. gawk is a stdenv mass-rebuild, so it must traverse `staging` -> `staging-next` -> the release branch before reaching `nixos-26.05`; that propagation is still in flight. Risk posture is unchanged from the #1071 triage (developer/CI-chosen awk inputs only; readdir CVE requires the opt-in `-l readdir` path). ## Verification - `prek run --all-files` fully green (including `check-expirations`, which now passes with the future 2026-08-18 date). - `sync-manifest` auto-mirrored the changelog entry into `assets/workspace/.devcontainer/CHANGELOG.md` (regenerated, not hand-edited). ## Follow-up Flip to the nixpkgs rev-advance and drop this exception once 5.4.1 reaches `nixos-26.05`. Closes #1240
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
Unblocks the 1.2.0-rc1 publish, which failed at the blocking Vulnix CVE Gate (run 29346662524) on four gawk 5.4.0 findings disclosed by CERT-PL on 2026-07-13 (advisory):
builtin.cdo_sub()do_getline_redir()readdirext-l readdir, unused hereWhy an exception and not a bump
All four are fixed upstream in gawk 5.4.1. The nixpkgs bump (NixOS/nixpkgs#540158) merged to
stagingon 2026-07-12 (gawk is a stdenv mass-rebuild) and has not reachednixos-26.05— norrelease-26.05,staging-26.05,master, ornixpkgs-unstable(verified 2026-07-14). The "advance the rev" lever has nowhere to land, so this follows the exception-register model (precedents #941, #963): short-dated block (expires 2026-07-28), per-CVE rationale, dropped in favour of a pin advance once 5.4.1 lands.Verification
just precommitsuite green (incl.check-expirations,sync-manifest).vulnix-gaterun locally against the updated register with a findings file reproducing the four CVEs: exit 0; negative control with an unregistered CVE still fails (exit 1).Refs: #1071