Repository navigation
fix(deps): clear dependabot security alerts (12 of 13) - #161
Merged
Merged
Conversation
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
Lockfile updates: rustls 0.23.23 -> 0.23.46 (pulls rustls-webpki 0.102.8 -> 0.103.16), quinn 0.11.5 -> 0.11.12, quinn-proto 0.11.8 -> 0.11.19, rsa 0.9.8 -> 0.9.10, bytes 1.8.0 -> 1.12.1, rand 0.8.5 -> 0.8.8, git2 0.19.0 -> 0.20.4. These close the rustls/rustls-webpki certificate-validation advisories on the outbound TLS path (KMS, attestation) plus the quinn-proto, rsa, bytes and git2 alerts. fuser 0.13 -> 0.16 fixes GHSA-cvmj-47v9-35m9 (high). The advisory lives in the libfuse feature, which this build does not enable, but the bump clears the alert properly. The only code change is the file-handle argument added to Filesystem::getattr in 0.15. The build keeps using the pure-Rust /dev/fuse backend. shadow-rs 0.35.2 -> 0.38.1 unblocks the git2 bump; its deprecated new() is replaced by ShadowBuilder::builder().build(). The rand 0.7 line is removed by turning off again's default features: only fixed and exponential backoff are used, so the optional randomized-jitter dependency disappears from the tree. The time advisory (GHSA-r6v5-fh4h-64xc) remains open: every patched release requires Rust 1.88 while the toolchain is pinned at 1.85.0. Assisted-by: Claude:glm-5.3 Signed-off-by: Kun Lai <laikun@linux.alibaba.com>
Turn off shadow-rs's default git2 feature in the build scripts: git metadata now comes from the git CLI at build time instead of linking libgit2-sys. The generated constants are unchanged when building from a git checkout, and non-git trees (release tarballs) already fell back to empty values. Every environment that compiles the binaries installs git, and a missing git binary degrades the same way instead of failing the build. This drops git2 and libgit2-sys from the dependency graph entirely, removing the C library compilation from every cargo build. Assisted-by: Claude:glm-5.3 Signed-off-by: Kun Lai <laikun@linux.alibaba.com>
imlk0
force-pushed
the
depbot-security
branch
from
October 30, 2026 06:14
f974492 to
c8a8408
Compare
|
@imlk0 ,您好,您的请求已接收,请耐心等待结果。 |
|
@imlk0 ,您好,未检测到有镜像需要构建,如需重新检测请评论 /start 。 |
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.
What
Updates the vulnerable dependencies behind the 12 fixable dependabot alerts on master (4 high, 3 medium, 5 low) and leaves the 13th (
time) open with a reason. Also switches shadow-rs to its external-git mode to drop libgit2 from the build entirely.Closes 12 alerts: rustls 0.23.23 → 0.23.46 (pulls rustls-webpki 0.102.8 → 0.103.16, clearing all four webpki alerts), quinn 0.11.5 → 0.11.12 and quinn-proto 0.11.8 → 0.11.19 (both high), rsa 0.9.8 → 0.9.10, bytes 1.8.0 → 1.12.1, rand 0.8.5 → 0.8.8, fuser 0.13.0 → 0.16.0 (high, GHSA-cvmj-47v9-35m9), and git2 — removed from the dependency graph outright (see below).
Why these matter
Code changes
verity-fuse/src/filesystem.rs:Filesystem::getattrgained the file-handle argument introduced in fuser 0.15. One-line signature update; everything else (mount2, MountOption, FileAttr, reply types) is unchanged in 0.16.Cargo.toml: fuser 0.13 → 0.16; shadow-rs 0.35.2 → 0.38.1;againwith default-features off, which removes the abandoned rand 0.7 line from the tree entirely (only fixed/exponential backoff is used, the randomized jitter was never exercised).new()replaced withShadowBuilder::builder().build().git2 and libgit2 removed from the build
The build scripts no longer enable shadow-rs's default
git2feature; git metadata (branch, commit, tag) now comes from thegitCLI at build time instead of linkinglibgit2-sys. The generated build-info constants are identical when building from a git checkout (--versionoutput verified), non-git trees such as release tarballs already fell back to empty values in both modes, and every environment that compiles the binaries installs git. This drops git2 and libgit2-sys from Cargo.lock entirely, clearing the git2 advisory by removal and cutting the libgit2 C compilation out of every cargo build.Not fixed
The
timeadvisory (GHSA-r6v5-fh4h-64xc) stays open: every patched release requires Rust 1.88 while the toolchain is pinned at 1.85.0. Fixing it means a toolchain bump, which should be its own change. Build-only dependency, no runtime exposure. (Note: shadow-rs's time dependency is unconditional in 0.38 and lives under itsbuildfeature in 1.x, so the external-git switch above does not remove it.)Verification
cargo fmt --check,cargo build,make clippy: clean, zero warningscargo test -p cryptpilot-verity -p verity-core -p verity-fuse: passmake testin cryptpilot-verity (format/dump/verify/open/FUSE mount/tamper/close integration suite): pass, including real mounts through fuser 0.16