Skip to content

deps: bump ctutils to 0.4.4 (RUSTSEC-2026-0385) - #91

Merged
avelino merged 1 commit into
mainfrom
avelino/chore/ctutils-0-4-4
Oct 27, 2026
Merged

avelino merged 1 commit into
mainfrom
avelino/chore/ctutils-0-4-4

Conversation

@avelino

@avelino avelino commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

What

Bumps the transitive ctutils dependency from 0.4.3 to 0.4.4 via cargo update -p ctutils --precise 0.4.4. Only Cargo.lock changes (version + checksum for ctutils); no other package moved, no source or Cargo.toml edits.

Why

RUSTSEC-2026-0385: ctutils < 0.4.4 has non-constant-time mask generation and u128 comparisons. It reaches jbundle through digest 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 audit before: RUSTSEC-2026-0385 reported for ctutils 0.4.3 (plus the unrelated tokio RUSTSEC-2026-0386).
  • git diff after cargo update -p ctutils --precise 0.4.4: 2 lines in Cargo.lock (version + checksum of ctutils), nothing else.
  • cargo audit after: 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.

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>
@avelino
avelino merged commit c36ab9d into main Oct 27, 2026
9 checks passed
@avelino
avelino deleted the avelino/chore/ctutils-0-4-4 branch October 27, 2026 10:32
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