Skip to content

sqlite: 3.53.3 -> 3.54.0 - #572495

Merged
vcunat merged 1 commit into
NixOS:stagingfrom
mdaniels5757:sqlite
Oct 16, 2026
Merged

vcunat merged 1 commit into
NixOS:stagingfrom
mdaniels5757:sqlite

Conversation

@mdaniels5757

Copy link
Copy Markdown
Member

Changelog: https://www.sqlite.org/releaselog/3_54_0.html

Things done

@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. labels Oct 10, 2026
@mdaniels5757

Copy link
Copy Markdown
Member Author

npb · 5a9fa12 → 7955589

Expand this for a reproducible command.
npb --base 5a9fa12151ef8e32f2de9a97daf0c019b9fb90d4 --head 7955589cfcccfd4c941090aec6a04441910c0246 -p sqlite -p sqldiff -p sqlite-analyzer -p sqlite-rsync -p sqlite-interactive -p pkgsMusl.sqlite -s x86_64-linux -s aarch64-linux -s aarch64-darwin
Expand this for a legend of all symbols below.
  • ✅ = successfully built
  • ❌ = failed to build
  • 🚫 = dependency failed to build
  • ❔ = couldn't try to build
  • ⏩ = failed to evaluate
  • ➖ = doesn't exist

x86_64-linux

✅ → ✅ · 20 packages (12 unique)
  • pkgsMusl.sqlite.tests.sqlalchemy
  • pkgsMusl.sqlite.tests.sqldiff
  • pkgsMusl.sqlite.tests.sqlite-analyzer
  • pkgsMusl.sqlite.tests.sqlite-rsync
  • pkgsMusl.sqlite
  • sqldiff = sqlite.tests.sqldiff = sqlite-interactive.tests.sqldiff
  • sqlite-analyzer = sqlite.tests.sqlite-analyzer = sqlite-interactive.tests.sqlite-analyzer
  • sqlite-interactive
  • sqlite-rsync = sqlite.tests.sqlite-rsync = sqlite-interactive.tests.sqlite-rsync
  • sqlite.tests.sqlalchemy = sqlite-interactive.tests.sqlalchemy
  • sqlite.tests.tinysparql = sqlite-interactive.tests.tinysparql
  • sqlite
❔ → ❔ · 1 package
  • pkgsMusl.sqlite.tests.tinysparql

aarch64-linux

✅ → ✅ · 20 packages (12 unique)
  • pkgsMusl.sqlite.tests.sqlalchemy
  • pkgsMusl.sqlite.tests.sqldiff
  • pkgsMusl.sqlite.tests.sqlite-analyzer
  • pkgsMusl.sqlite.tests.sqlite-rsync
  • pkgsMusl.sqlite
  • sqldiff = sqlite.tests.sqldiff = sqlite-interactive.tests.sqldiff
  • sqlite-analyzer = sqlite.tests.sqlite-analyzer = sqlite-interactive.tests.sqlite-analyzer
  • sqlite-interactive
  • sqlite-rsync = sqlite.tests.sqlite-rsync = sqlite-interactive.tests.sqlite-rsync
  • sqlite.tests.sqlalchemy = sqlite-interactive.tests.sqlalchemy
  • sqlite.tests.tinysparql = sqlite-interactive.tests.tinysparql
  • sqlite
❔ → ❔ · 1 package
  • pkgsMusl.sqlite.tests.tinysparql

aarch64-darwin

⏩ → ⏩ · 1 package
  • pkgsMusl.sqlite
✅ → ✅ · 13 packages (6 unique)
  • sqldiff = sqlite.tests.sqldiff = sqlite-interactive.tests.sqldiff
  • sqlite-analyzer = sqlite.tests.sqlite-analyzer = sqlite-interactive.tests.sqlite-analyzer
  • sqlite-interactive
  • sqlite-rsync = sqlite.tests.sqlite-rsync = sqlite-interactive.tests.sqlite-rsync
  • sqlite.tests.sqlalchemy = sqlite-interactive.tests.sqlalchemy
  • sqlite

@mdaniels5757
mdaniels5757 marked this pull request as ready for review October 11, 2026 15:54
@nixpkgs-ci
nixpkgs-ci Bot requested review from a team, JohnAZoidberg, balsoft and np and removed request for a team October 11, 2026 16:15
@vcunat
vcunat added this pull request to the merge queue Oct 16, 2026
Merged via the queue into NixOS:staging with commit 3d37d80 Oct 16, 2026
37 of 39 checks passed
@vcunat

vcunat commented Oct 16, 2026

Copy link
Copy Markdown
Member

Uh, the docs download has a hash mismatch. Did they update it?

error: hash mismatch in fixed-output derivation '/nix/store/bhglanmm5iyjsxdain6y8vzmi3kbcwp4-sqlite-doc-3540000.zip.drv':
         specified: sha256-dnQsv6quvqU1XGtHShjKhQq1EGJfwz+kLQJQ/8rCepU=
            got:    sha256-oXlaxb9JHz57W07OBBDuO04EgPaod7wnzSEnxZH+J74=

https://hydra.nixos.org/build/349306542

vcunat added a commit that referenced this pull request Oct 16, 2026
No idea what happened here.  Cross-ref: PR #572495
@mdaniels5757
mdaniels5757 deleted the sqlite branch October 16, 2026 12:49
@mdaniels5757

Copy link
Copy Markdown
Member Author

Odd. Thanks for fixing!

gerchowl added a commit to vig-os/devkit that referenced this pull request Nov 17, 2026
## Description

Reconciles the seven `.vulnixignore` entries that expire on 2026-11-18
(two blocks: fzf 0.72.0 and the #2052 sqlite 3.53.3 + rsync 3.5.0
batch). From 2026-11-19 they would fail `check-expirations` in every PR,
both nightly lanes and the release train. Every entry was re-verified on
2026-11-17, following docs/CONTAINER_SECURITY.md ("a renewal is a
re-verification, not a date bump"). No other block is touched
(2026-11-25, 2026-12-02 and 2027-06-23 are unchanged). This also
resolves the dev-lane notice #2072.

Evidence, checked 2026-11-17:

- **All seven are still live findings.** The dev lane of nightly run
44099322680 (2026-11-17, pin `08d3a975`) still reports them. No other
CVSS >= 7.0 finding exists for these packages, and NVD lists no newer
HIGH CVE for sqlite 3.53.3, rsync 3.5.0 or fzf 0.72.0.
- **The NVD CPEs match the right product and version.** `sqlite:sqlite`
< 3.54.0 (119373/119374/119379) and <= 3.54.1 (119586); `samba:rsync` <=
3.5.1; `junegunn:fzf` < 0.73.1. NVD now gives every range an upper
bound, so the open-ended-range concern from the #2052 review no longer
applies to rsync.
- **Nothing is fixed at the pin, so nothing is deleted.** The pin
`08d3a975` and the open advance #1821 (`f1e5c356`, 2026-11-13) both ship
sqlite 3.53.3, rsync 3.5.0 and fzf 0.72.0.

| Entry | Lever, 2026-11-17 | Decision |
|---|---|---|
| rsync CVE-2026-119741 | Fixed on nixos-26.05 head `b349185b`, after
the pin. The fix is nixpkgs `190957f1` (rsync 3.5.0 -> 3.5.2, backport
NixOS/nixpkgs#584501), which reached release-26.05 with staging-next
iteration 10, NixOS/nixpkgs#584522. #1821's rev predates it. | Exit is
the next pin advance to a rev at or after `190957f1`. Short expiry
**2026-12-02**: two Monday windows, because #1821 is red. Do not renew.
|
| sqlite CVE-2026-119373 / -119374 / -119379 | Fixed in upstream 3.54.0.
The fix commits are in tag `version-3.54.0` but not in `version-3.53.4`.
In nixpkgs, 3.54.0 is staging/unstable only (NixOS/nixpkgs#572495).
Every 26.05 branch still ships 3.53.3 with no CVE patches, and no
backport PR is open. | Renewed with fresh evidence to **2026-12-09**. |
| sqlite CVE-2026-119586 | **Correction:** the old note said "fixed in
3.54.2". 3.54.2 does not exist; the latest upstream release is 3.54.1.
sqlite.org/cves.html says "Not a bug in the core SQLite library" and
points to the CLI's `--safe` option. | Re-classed as not-exploitable (it
needs a deliberate, unsafe two-step user action). It stays in the sqlite
block under the exact `@3.53.3` key, so the version bump re-gates it. |
| fzf CVE-2026-53432 / -53433 | Every 26.05 branch, the pin and #1821
ship 0.72.0. The only backport, NixOS/nixpkgs#572684, was closed
unmerged on 2026-10-11. Unstable ships 0.75.0. | Renewed
(availability-only on a 64-bit image) to **2026-12-16**. |

Each block now sits on its own Wednesday: glibc 11-25, Brotli + rsync
12-02 (one entry each), sqlite 12-09, fzf 12-16.

## Type of Change

- [ ] `feat` -- New feature
- [x] `fix` -- Bug fix
- [ ] `docs` -- Documentation only
- [ ] `chore` -- Maintenance task (deps, config, etc.)
- [ ] `refactor` -- Code restructuring (no behavior change)
- [ ] `test` -- Adding or updating tests
- [ ] `ci` -- CI/CD pipeline changes
- [ ] `build` -- Build system or dependency changes
- [ ] `revert` -- Reverts a previous commit
- [ ] `style` -- Code style (formatting, whitespace)

### Modifiers

- [ ] Breaking change (`!`) -- This change breaks backward compatibility

## Changes Made

- `.vulnixignore`:
  - fzf block: re-dated to 2026-12-16, with a re-verification note.
- #2052 block: split into sqlite (2026-12-09) and rsync (2026-12-02).
The notes are rewritten to the verified data: fixing commit SHAs,
NixOS/nixpkgs PRs, the exit condition, and the CVE-2026-119586
correction.
  - Header: a reconcile note with the new grid.
- `CHANGELOG.md` (+ the generated
`assets/workspace/.devcontainer/CHANGELOG.md` mirror via
`sync_manifest.py`): Security entry. This follows the #1847 reconcile
precedent (`fix(security)` + entry).

## Changelog Entry

### Security

- **Re-verify the seven Nix image exceptions that expired on
2026-11-18** ([#2052](#2052))
- None is fixed at the pinned nixpkgs rev, so none is deleted. All seven
are still live findings in the 2026-11-17 nightly scan, and NVD still
matches each one to the right product and version.
- rsync CVE-2026-119741 is fixed by rsync 3.5.2, which is on
`nixos-26.05` but newer than the pin. The entry now expires on
2026-12-02 and is deleted by the next pin advance.
- SQLite CVE-2026-119373, CVE-2026-119374 and CVE-2026-119379 are fixed
by SQLite 3.54.0, which is not yet backported to 26.05. They now expire
on 2026-12-09. fzf CVE-2026-53432 and CVE-2026-53433 have no 26.05
backport; they stay availability-only and now expire on 2026-12-16.
- Correction: SQLite CVE-2026-119586 has no fixed release. Upstream
rejects it as not a core-library bug and points to the CLI's `--safe`
option. The earlier "fixed in 3.54.2" note was wrong.

## Testing

- [ ] Tests pass locally (`just test`)
- [x] Manual testing performed (describe below)

### Manual Testing Details

No TDD test: this is a register (config) change. The proof uses the
gate's own entry points (`check_expirations.main(today=...)`,
`vulnix_gate.main(today=...)`), run against the dev-lane
`vulnix-findings.json` from nightly run 44099322680:

- **Before**, as of 2026-11-19: `check-expirations .vulnixignore` exits
1 (7 expired), and `vulnix-gate` exits 1 (7 unexcepted HIGH: 4 sqlite, 1
rsync, 2 fzf).
- **After**, as of 2026-11-19: both exit 0 ("16 exception(s) applied").
- `pytest packages/vig-utils/tests/test_vulnix_gate.py
packages/vig-utils/tests/test_check_expirations.py -n 4`: 48 passed,
exit 0.
- No local vulnix scan was run. It needs the `devkitImageEnv` closure
(not in the local store) plus the NVD feed, so this relies on the
2026-11-17 nightly artifact and CI.

## Checklist

- [x] My code follows the project's style guidelines
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the documentation accordingly (edit
`docs/templates/`, then run `just docs`)
- [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and
pasted the entry above)
- [x] My changes generate no new warnings or errors
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published

## Additional Notes

- `main` keeps its own register until the next release train. This PR
changes only `dev`'s register. Carrying it to `main` goes through the
release-neutral lane (docs/CONTAINER_SECURITY.md section 6), which
resolves #2073.
- The first CI run failed Dependency Review on dev's expired
`.github/dependency-review-allow.txt` entry GHSA-wvrr-2x4r-394v
(2026-11-11). #2080 fixed that, and this branch is now rebased onto it.

Refs: #2052
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (update) This PR updates a package to a newer version 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants