Repository navigation
fix(deps): update rusqlite and rustix for RustSec advisories - #130
Merged
Merged
Conversation
- rusqlite 0.32 -> 0.41.1, resolving libsqlite3-sys 0.39.1 with bundled SQLite >= 3.54 (RUSTSEC-2026-0459 / CVE-2026-119375). - rustix 1.1.4 -> 1.1.6 via tempfile (RUSTSEC-2026-0486, unsound zero-length xattr buffer handling). - Allow the bzip2-1.0.6 license in about.toml. zip 9's bzip2 feature pulls libbz2-rs-sys, and release license generation rejected the package without this entry. The bundled SQLite feature is retained so source builds keep using the vendored library. No API changes were needed. Closes #129
adi0x90
force-pushed
the
fix/129-rustsec-deps
branch
from
November 12, 2026 08:55
0980d31 to
ad8b1c7
Compare
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
Closes #129
cargo auditfound two RustSec advisories that Dependabot was not surfacing:libsqlite3-sys0.30.1 (viarusqlite0.32bundled) bundles SQLite before 3.54.0, so a crafted database plus sibling-walfile can return uninitialized page-cache memory.rustix1.1.4 (viatempfile) marks unwritten bytes as initialized for zero-length xattr buffers, which is undefined behavior reachable from safe code.The PR also unblocks release packaging, which the earlier
zip9 upgrade exposed:libbz2-rs-sysis licensedbzip2-1.0.6, andcargo-aboutrejected it.Changes
rusqlite0.32.1 → 0.41.1 infat_coreandfat_query, resolvinglibsqlite3-sys0.39.1 with bundled SQLite ≥ 3.54.rustix1.1.4 → 1.1.6 in the lockfile.bzip2-1.0.6to the accepted licenses inabout.toml.ProjectDband the query snapshot store use the same API.Verification
cargo fmt --all -- --checkcargo clippy --workspace --all-targets(clean)cargo test --workspace --no-fail-fast— 2114 passed, 0 failed, 1 ignored (220 targets)cargo test -p firmware-analysis-toolkit --test test_kernel_profile_consistency— 4 passedcargo check --workspace --all-featurescargo audit— 0 vulnerabilities (2 unrelatedunmaintainedwarnings remain)bash scripts/generate-third-party-licenses.sh— report generated with the new allowlistpython3 scripts/build-runtime-data-bundle.py --check— 33 files verifiedpython3 -m unittest discover -s tests/release -p 'test_install*.py'— 43 passedgit diff --checkNotes
libsqlite3-sysis 0.39.1, above the 0.39.0 patched floor. The bundled SQLite feature is retained so source builds do not depend on a system SQLite.sqlite-wasm-rsappears inCargo.lockthrough rusqlite's default features but is target-gated to wasm and is not in the native dependency tree.