Skip to content

fix(deps): bump rand from 0.9.2 to 0.9.3#61

Merged
hachall merged 1 commit into
mainfrom
dependabot/cargo/rand-0.9.3
Jun 1, 2026
Merged

fix(deps): bump rand from 0.9.2 to 0.9.3#61
hachall merged 1 commit into
mainfrom
dependabot/cargo/rand-0.9.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 5, 2026

Bumps rand from 0.9.2 to 0.9.3.

Changelog

Sourced from rand's changelog.

[0.9.3] — 2026-02-11

This release back-ports a fix from v0.10. See also #1763.

Changes

  • Deprecate feature log (#1764)
  • Replace usages of doc_auto_cfg (#1764)

#1763: rust-random/rand#1763

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels May 5, 2026
@hachall
Copy link
Copy Markdown
Collaborator

hachall commented Jun 1, 2026

@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>
@dependabot dependabot Bot changed the title build(deps): bump rand from 0.9.2 to 0.9.3 fix(deps): bump rand from 0.9.2 to 0.9.3 Jun 1, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/rand-0.9.3 branch from 60e3b2d to c5b10b2 Compare June 1, 2026 10:19
@hachall hachall merged commit 2a437ec into main Jun 1, 2026
7 checks passed
@dependabot dependabot Bot deleted the dependabot/cargo/rand-0.9.3 branch June 1, 2026 10:20
Copy link
Copy Markdown

@doubleword-code doubleword-code Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 the log feature 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

  1. Merge this PR — it's a clean security fix with no downsides.
  2. Consider running cargo audit periodically 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant