Repository navigation
deps: bump ctutils to 0.4.4 (RUSTSEC-2026-0385) - #91
Merged
Merged
Conversation
ctutils < 0.4.4 has a non constant-time mask generation and u128 comparison (RUSTSEC-2026-0385, https://rustsec.org/advisories/RUSTSEC-2026-0385). It reaches jbundle transitively through digest 0.11.3 / sha2 0.11.1. jbundle only uses hashes for checksums, so the practical impact here is low, but there is no reason to carry a known timing-safety bug. Lock-only update, no source or Cargo.toml changes. Signed-off-by: Avelino <31996+avelino@users.noreply.github.com>
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
Bumps the transitive
ctutilsdependency from 0.4.3 to 0.4.4 viacargo update -p ctutils --precise 0.4.4. OnlyCargo.lockchanges (version + checksum forctutils); no other package moved, no source orCargo.tomledits.Why
RUSTSEC-2026-0385:
ctutils< 0.4.4 has non-constant-time mask generation andu128comparisons. It reaches jbundle throughdigest 0.11.3/sha2 0.11.1. jbundle only uses hashing for checksums (not for comparing secrets), so the practical impact is low, but there's no reason to keep a known timing-safety issue around.The unrelated RUSTSEC-2026-0386 (tokio) is left untouched; it's covered by a separate Dependabot PR.
How it was tested
Run locally on this exact lockfile, with the same commands as
.github/workflows/ci.yml:cargo auditbefore: RUSTSEC-2026-0385 reported forctutils 0.4.3(plus the unrelated tokio RUSTSEC-2026-0386).git diffaftercargo update -p ctutils --precise 0.4.4: 2 lines inCargo.lock(version + checksum ofctutils), nothing else.cargo auditafter: RUSTSEC-2026-0385 is gone; only the unrelated tokio RUSTSEC-2026-0386 remains.cargo fmt -- --check: clean.cargo clippy -- -D warnings: clean.cargo test: 212 passed in the main test binary, 2 passed in the other; 0 failed.