Repository navigation
fix(security): except perl 5.42.0 CVE batch pending upstream stable fix - #1098
Merged
Merged
Conversation
Add a time-boxed .vulnixignore block for CVE-2026-13221 (9.1) and CVE-2026-57432 (8.4) in perl 5.42.0, the two new HIGH/CRITICAL findings that failed the nightly vulnix gate (run 29396607272). Both fixes exist only in the perl 5.43.x dev series (fixed in 5.43.10); stable perl is 5.42.0 in the pinned rev, nixos-26.05, and Debian stable, so there is no rev to advance to yet. perl is in-closure via git's perl-based subcommands and processes developer/CI-chosen inputs only. Short expiry (2026-08-14) forces re-review once a patched perl reaches the channel. Refs: #1094
c-vigo
enabled auto-merge
July 15, 2026 07:27
c-vigo
added a commit
that referenced
this pull request
Jul 15, 2026
After #1107 swapped full git for gitMinimal, perl 5.42.0's sole image anchor was neovim -> wl-clipboard -> xdg-utils -> perl. The nixpkgs neovim wrapper bakes wl-clipboard as the Wayland clipboard provider, which is dead code in a headless container; nvim >= 0.10 uses OSC52 natively over VS Code remote / SSH. Re-wrap neovim-unwrapped with wrapNeovimUnstable and waylandSupport = false for the image only (dev-shell keeps stock neovim via devTools), evicting the wl-clipboard -> xdg-utils -> perl subtree (~108 MiB). With perl gone from the closure, delete its 5.42.0 CVE exception batch from .vulnixignore (CVE-2026-4176, CVE-2026-13221, CVE-2026-57432) instead of maintaining it pending an upstream stable fix (cf. #1097/#1098). Refs: #1108
c-vigo
added a commit
that referenced
this pull request
Jul 15, 2026
## Summary Final cut of epic #1103. After #1107 swapped full git for `gitMinimal`, perl 5.42.0's **sole** remaining anchor was `neovim → wl-clipboard → xdg-utils → perl` — the nixpkgs neovim wrapper suffixes `wl-clipboard` as the Wayland clipboard provider, dead code in a headless container (no Wayland socket; the clipboard that actually works over VS Code remote / SSH is OSC52, native in nvim ≥ 0.10). The stock wrapper exposes no `waylandSupport` knob via `.override`, so the image gets a `wrapNeovimUnstable pkgs.neovim-unwrapped` rewrap replicating the legacy defaults (`legacyWrapper = true` keeps the stock provider-disabling rc) with `waylandSupport = false`. Image-scoped via the established filter pattern — `devTools`/dev-shell keep the stock wrapped neovim, including its `lowPrio` (replicated, since devTools relies on it for the `vigos.editor` collision rule, #824). **Security payoff:** with perl out of the closure, the perl 5.42.0 CVE exception batch in `.vulnixignore` (#1097/#1098, "pending upstream stable fix") is **deleted** (38 lines: `CVE-2026-4176`, and the perl-only triage block with `CVE-2026-13221`/`CVE-2026-57432`) instead of being maintained. Shared expiration headers and co-located non-perl entries kept intact; `check-expirations` hook passes. ## Evidence (independently re-verified) - Closure: 1,758,754,952 → 1,645,235,648 bytes (**−108.3 MiB** — the issue estimated ~55–60; the full perl-module stack + wl-clipboard + xdg-utils came out with it) - **`nix path-info -r | grep -iE 'perl|wl-clipboard|xdg-utils'` → EMPTY** (baseline had 33 such paths) - `nvim --version` → `NVIM v0.12.3`; `--headless +q` exits 0; the wrapper script contains zero wl-clipboard/xdg-utils references; under a clean PATH `:checkhealth` reports the benign "No clipboard tool found" (OSC52 territory), no crash - No test or shipped-config changes needed: no image test asserts the wrapped variant; no nvim config sets a clipboard provider - Full hook suite green (`prek run --all-files`, exit 0) Part of epic #1103 (sub-issue 5/5 — completes the epic). Closes #1108
This was referenced Jul 15, 2026
Merged
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
The nightly vulnix gate (run 29396607272) went red on two new HIGH/CRITICAL findings in
perl 5.42.0. Running the realvulnix-gateagainst the run'svulnix-findings.jsonwith 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.Perl_study_chunk; regex alternations of >65535 fixed branches silently miscompile (false pos/neg matches). Correctness bug; needs a pathological developer-authored pattern.S_measure_struct→ OOB heap read inpack/unpackwhen 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.perlis 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
.vulnixignoreexception (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-gateagainst 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