Skip to content

fix(security): accept sqlite 3.53.3 and rsync 3.5.0 CVEs pending nixpkgs - #2053

Merged
gerchowl merged 1 commit into
release/1.19.0from
bugfix/2052-vulnix-sqlite-rsync-exceptions
Nov 6, 2026
Merged

gerchowl merged 1 commit into
release/1.19.0from
bugfix/2052-vulnix-sqlite-rsync-exceptions

Conversation

@gerchowl

@gerchowl gerchowl commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Description

Unblocks the 1.19.0 release train. The release.yml Vulnix CVE Gate failed for 1.19.0-rc4 (run 42140837792) on five HIGH findings published 2026-10-30 and 2026-11-03: four in sqlite 3.53.3 and one in rsync 3.5.0. Upstream has fixed all five (sqlite 3.54.0/3.54.2, rsync 3.5.2), but nixpkgs has not: the pinned rev, nixos-26.05 and nixpkgs-unstable all still ship the vulnerable versions with no CVE patches (checked 2026-11-06). The pin advance cannot clear them yet, so this PR adds time-boxed awaiting-upstream exceptions.

Type of Change

  • fix -- Bug fix

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • .vulnixignore: a new block under Expiration: 2026-11-18, a Wednesday on the expiry grid. The window includes two Monday pin advances and their nightly deltas. It has five exact-scope entries:
  • Each entry has a risk note: the GHSA id, the fixed upstream version and the reachability.
    • sqlite: CVSS 7.8 AV:L/UI:R. Exploiting it needs the user to open a crafted database or changeset locally.
    • rsync: availability only. The advisory's attack is unauthenticated clients pulling from a public rsync daemon, and the image never runs one.
  • How the no-daemon claim was verified, from flake.nix: the OCI config's Cmd is bash and it declares no ExposedPorts. flake.nix, nix/ and assets/ contain no rsyncd.conf and no rsync --daemon. rsync is in imageTools/devtools.nix only as the CLI the scaffold copies with. The note also records the one remaining path: a user pushing to a hostile receiver can stall their own rsync process.
  • The new block shares 2026-11-18 with the two-entry fzf block (7 entries in total). That is not the single-Wednesday cliff the stagger rule guards against.
  • .trivyignore needs no change: the Trivy scans in the same run passed, and Trivy does not report Nix-store packages. No test pins the register's entries.

Changelog Entry

Security

  • Accept five SQLite and rsync CVEs until 2026-11-18 pending nixpkgs (#2052)
    • SQLite 3.53.3: CVE-2026-119373, CVE-2026-119374 and CVE-2026-119379 (fixed in 3.54.0) and CVE-2026-119586 (fixed in 3.54.2). Each needs the user to open a crafted database or changeset locally.
    • rsync 3.5.0: CVE-2026-119741 (fixed in 3.5.2), a CPU denial of service in a public rsync daemon's sender. The image never runs an rsync daemon.
    • nixpkgs has none of these fixes yet, so .vulnixignore accepts the five as exact package/version exceptions. They are removed once a nixpkgs pin advance ships the fixed versions.

(The entry goes under ## [1.19.0] - TBD, since this PR targets the release branch. The .devcontainer/CHANGELOG.md mirror was regenerated with scripts/sync_manifest.py.)

Testing

  • Manual testing performed (describe below)

Manual Testing Details

  • I ran vulnix-gate on a findings JSON that reproduces the five failing items (pname and version exactly as the gate printed them in run 42140837792):
    • Register before this change: exit 1, five findings blocking.
    • Register after this change: exit 0, "16 exception(s) applied".
    • With a decoy sqlite 3.53.4 finding added, it still blocks (exit 1), which shows the exceptions are exact-scope.
  • check-expirations .vulnixignore .trivyignore: exit 0, "Validated 16 exception(s)".
  • pytest packages/vig-utils/tests/test_vulnix_gate.py packages/vig-utils/tests/test_check_expirations.py tests/test_workflow_security_scan_report.py tests/test_workflow_expiry_notice.py -n 4: 60 passed.
  • There is no new test, because this is a register (config) change. The gate's parser and its scoped matching already have tests.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • 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 or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

This PR targets release/1.19.0, not dev, to unblock rc5. The same entries need to reach dev too; per docs/CONTAINER_SECURITY.md §6, carry the additions over rather than mirroring the file. Exit condition: the weekly nixpkgs pin advance that ships sqlite >= 3.54.2 and rsync >= 3.5.2. At that point, delete the entries rather than renewing them.

Refs: #2052

Add five exact-scope awaiting-upstream entries to .vulnixignore under a
2026-11-18 expiry: CVE-2026-119373, -119374, -119379, -119586 (sqlite
3.53.3, fixed in 3.54.0/3.54.2) and CVE-2026-119741 (rsync 3.5.0, fixed in
3.5.2). nixpkgs carries neither fix yet, so the pin advance cannot clear
them. Each entry records its advisory, fixed version and the image's
limited exposure; the image runs no rsync daemon.

Refs: #2052
@gerchowl
gerchowl merged commit 865cd3c into release/1.19.0 Nov 6, 2026
16 checks passed
@gerchowl
gerchowl deleted the bugfix/2052-vulnix-sqlite-rsync-exceptions branch November 6, 2026 01:54
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