Repository navigation
fix(security): except libssh2 CVE batch and prune dead vulnix exceptions - #1329
Merged
Merged
Conversation
Add a time-boxed .vulnixignore block (expires 2026-08-31) for the three HIGH libssh2 1.11.1 CVEs disclosed 2026-07-24 that turned the nightly vulnix gate red on dev and main from 2026-07-31: CVE-2026-66033, -66034, -66035. All three are client-side flaws requiring a connection to a malicious SSH server; libssh2 enters the closure only as curl's scp/sftp backend. Upstream has published no release since 1.11.1 and the nixpkgs patches (NixOS/nixpkgs#547491) are still on staging behind #546446, so no rev-advance is available. Prune five entries that are already fixed at the pinned rev by the #1273 pin advance, which the register was never reconciled against: CVE-2026-55200 (libssh2), CVE-2026-41992 (gzip) and CVE-2026-11979 (libxml2) carry CVE-named nixpkgs patches, which vulnix credits; socat is at 1.8.1.3 (CVE-2026-56123) and ldns at 1.9.2 (CVE-2026-10846). The libssh2 and socat entries lapsed on 2026-08-03, failing check-expirations on every branch. Renew podman CVE-2026-57231 (lapsing 2026-08-06) to 2026-08-31: nixos-26.05 still ships 5.8.2 and the release-26.05 backport is still a draft. Refs: #1327
This was referenced Aug 4, 2026
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
Remediates the nightly vulnix gate failure that has been red on both refs since
2026-07-31 (run 30614074169
→ #1322 dev / #1323 main, and again 08-01/08-02/08-03), and the two register
exceptions that lapsed on 2026-08-03 — which since today fail
check-expirationsinthe pre-commit hook and at
ci.yml:390, i.e. on every branch, not just the nightly.Both refs share the same nixpkgs pin (
nixos-26.05@8623c4c2), so this singleregister fix covers both;
maingoes green at the next promote. Register-only — noimage or code change.
New libssh2 block (expires 2026-08-31): the three unexcepted HIGH findings —
CVE-2026-66033, CVE-2026-66034, CVE-2026-66035 (7.5 each), disclosed 2026-07-24 and
in the vulnix feed from 07-30. A findings diff against the last green run (30523258723)
confirms these three are the only delta. All are client-side flaws requiring a
connection to a malicious SSH server; libssh2 enters the closure only as curl's
scp/sftp backend (git uses openssh), the same reachability class as the accepted
CVE-2026-58050. No rev-advance exists: upstream has published no release since
1.11.1 (2024-10-16) and NixOS/nixpkgs#547491
is open against staging, gated behind nixpkgs#546446, with a
release-26.05backport still to come.
Five dead exceptions pruned. All were already fixed at the pinned rev by the
Advance pinned nixpkgs rev to drop propagated vulnix exception blocks (openssl, curl, openssh, jq) #1273 pin advance, which the register was never reconciled against:
CVE-2026-55200.patch(nixpkgsf6ae2642, 2026-07-01) — vulnix credits CVE-namedpatches, so it stopped reporting itCVE-2026-41992.patchCVE-2026-11979.patch(both attrs)The first and fourth are the entries that lapsed on 2026-08-03. Each removal leaves a
dated comment in place of the entry, so the register still records the decision.
podman CVE-2026-57231 renewed 2026-08-06 → 2026-08-31 (it lapses in two days).
Re-verified today:
nixos-26.05HEAD still ships 5.8.2 and the backportnixpkgs#536367 is still a draft,
untouched since 2026-07-20 — no lever. Aligned to 08-31 with the libssh2 and unbound
blocks so the register gets one combined re-review pass.
Every entry checked
All 31 remaining entries were diffed against the 2026-08-03 findings and against the
package state at the pinned rev. The only entries that no longer correspond to a
finding are the three Class-1 Jenkins-Git CPE collisions (CVE-2022-30947/-36882/-36883);
they are documented false positives on a yearly re-check (exp 2027-06-23) and are kept
as-is — dropping them buys nothing and risks flapping if the NVD CPE data changes back.
Everything else (glibc ×6, zlib, sqlite ×2, libmicrohttpd ×2, fzf ×2, libssh2
CVE-2026-58050, gawk ×4, unbound ×5, shellcheck) is still reported and correctly retained.
Verification
Both gates replayed locally against the real artifacts from the failing run
(30797351489), for each ref:
pre-commit run --all-filesgreen in the working tree (51 hooks passed, exit 0).Follow-ups (not in this PR)
nixos-26.05, so the gawk block (4 CVEs,exp 08-18) finally has a rev-advance target and should be dropped, not renewed
again.
CycloneDX SBOM and the Trivy defence-in-depth view are missing from the artifact
exactly when they are most useful (17 kB on 2026-08-03 vs 466 kB on 2026-07-30).
Worth reordering or moving the SBOM steps behind
if: always().scheduled run would have died at
check-expirations— before the tracking-issueautomation, which guards on
vulnix-gate.outcome == 'failure', could fire.Closes #1327. Also resolves #1322 and #1323 (close manually after merge —
Closesdoesnot auto-close on
dev-targeted PRs).