fix(deps): bump rand from 0.9.2 to 0.9.3#61
Merged
Conversation
Collaborator
|
@dependabot rebase |
Bumps [rand](https://github.com/rust-random/rand) from 0.9.2 to 0.9.3. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/0.9.3/CHANGELOG.md) - [Commits](rust-random/rand@rand_core-0.9.2...0.9.3) --- updated-dependencies: - dependency-name: rand dependency-version: 0.9.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
60e3b2d to
c5b10b2
Compare
There was a problem hiding this comment.
Summary
This PR bumps the rand dependency from 0.9.2 to 0.9.3. This is a security maintenance update that fixes a known soundness vulnerability (RUSTSEC-2026-0097). The change is minimal—only version and checksum updates in Cargo.lock—with no API changes or breaking changes.
Verdict: Ready to merge.
Research notes
- Fetched the CHANGELOG.md for 0.9.3: Confirms this release back-ports a fix from v0.10 for the soundness issue.
- Fetched PR #1763: Documents the unsoundness condition—affecting code where a custom logger calls
rand::rng()while ThreadRng is reseeding. The fix deprecates thelogfeature to prevent this pattern. - The RUSTSEC advisory RUSTSEC-2026-0097 was filed for this issue affecting rand >= 0.7, < 0.9.3 and 0.10.0.
Suggested next steps
- Merge this PR — it's a clean security fix with no downsides.
- Consider running
cargo auditperiodically to catch similar advisories automatically in CI.
General findings
No issues found. The codebase's usage of rand (CSRF token generation in auth.rs and reservoir sampling in files.rs) does not trigger the conditions for the soundness bug, but upgrading is still recommended for supply-chain hygiene and defense-in-depth.
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.
Bumps rand from 0.9.2 to 0.9.3.
Changelog
Sourced from rand's changelog.
Commits
1aeee9fPrepare v0.9.3: deprecate featurelog(#1764)98473eePrepare rand 0.9.2 (#1648)031a1f5examples/print-next.rs(#1647)6cb75eeMake UniformUsize serializable (#1646)0c955c5Add some tests for BlockRng, BlockRng64 and Xoshiro RNGs (#1639)204084aFix: Remove accidental editor swap file (#1636)86262acDeprecate rand::rngs::mock module and StepRng (#1634)a6e217fUpdate statrs link (#1630)db993ecPrepare rand v0.9.1 (#1629)3057641Remove zerocopy from rand (#1579)