GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(deps): update rust crate rand [security] by renovate[bot] · Pull Request #827 · developing-today/code

Conversation

@renovate

@renovate renovate Bot commented Oct 25, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
rand (source) dependencies patch 0.8.5 → 0.8.6
rand (source) dependencies minor 0.8.5 → 0.9.0

Rand is unsound with a custom logger using rand::rng()

GHSA-cq8v-f236-94qc

More information

Details

It has been reported (by @​lopopolo) that the rand library is unsound (i.e. that safe code using the public API can cause Undefined Behaviour) when all the following conditions are met:

  • The log and thread_rng features are enabled
  • A custom logger is defined
  • The custom logger accesses rand::rng() (previously rand::thread_rng()) and calls any TryRng (previously RngCore) methods on ThreadRng
  • The ThreadRng (attempts to) reseed while called from the custom logger (this happens every 64 kB of generated data)
  • Trace-level logging is enabled or warn-level logging is enabled and the random source (the getrandom crate) is unable to provide a new seed

TryRng (previously RngCore) methods for ThreadRng use unsafe code to cast *mut BlockRng<ReseedingCore> to &mut BlockRng<ReseedingCore>. When all the above conditions are met this results in an aliased mutable reference, violating the Stacked Borrows rules. Miri is able to detect this violation in sample code. Since construction of aliased mutable references is Undefined Behaviour, the behaviour of optimized builds is hard to predict.

Severity

Low

References

  • https://github.com/rust-random/rand/pull/1763
  • https://rustsec.org/advisories/RUSTSEC-2026-0097.html
  • https://github.com/advisories/GHSA-cq8v-f236-94qc

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

rust-random/rand (rand)

v0.8.6

Compare Source

What's Changed

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

Changes
  • Deprecate feature log (#​1772)
  • Drop the experimental simd_support feature.

New Contributors

  • @​nwalfield made their first contribution in #​1772

Full Changelog: rust-random/rand@0.8.5...0.8.6


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@renovate
fix(deps): update rust crate rand [security]
7808498
@renovate
renovate Bot requested review from a team and dezren39 as code owners October 25, 2026 02:35
@github-actions github-actions Bot assigned dezren39 Oct 25, 2026
@coderabbitai

coderabbitai Bot commented Oct 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 21fb3307-a37c-4203-81ee-c89656c7a7eb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Oct 25, 2026
PR #827 (rand security): Renovate artifact update failed, treefmt red — and the bump only edits doc/ spikes and a downloaded snapshot #830
Closed
Stale open PRs: 16 Renovate updates (12 security) and platform-ssh-world #211 with merge conflicts #311
Closed
@dezren39

dezren39 commented Oct 27, 2026

Copy link
Copy Markdown
Member

Program-tending check-in (2026-10-27): no activity since 2026-10-25 (48h+). This Renovate security update (rand) is waiting on CI, not on review: on the last run nix-eval, nix-hashes, merge-gate and ci-gate failed, build was skipped, and treefmt passed. Next concrete step: those failing nix checks need to be fixed or re-run green — until then this security update cannot merge. — program tender (issue #1352)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Oct 27, 2026

Copy link
Copy Markdown
Member

Correction to the check-in above (program tender, 2026-10-27): the CI details in it were wrong — they came from a garbled check listing. Verified directly just now: the failing checks on this PR are renovate/artifacts ("Artifact file update failure") and treefmt check; Nix flake evaluation and the other run pass. So the blocker is Renovate's artifact update (the lockfile update for the rand bump), plus formatting — not the nix checks. The staleness and the next step stand, with that correction: this security update cannot merge until the artifact update and treefmt pass. Sorry for the noise.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Oct 29, 2026
ci: Actions check runs stuck in queued across PRs — no runner pickup since ~05:00Z 2026-10-28 #1599
Closed
stale-pr: resolve code#827 — fix(deps): update rust crate rand [security] #2358
Closed
@dezren39

dezren39 commented Oct 29, 2026

Copy link
Copy Markdown
Member

Stale-PR warden: no activity for 2 days. Resolution task: #2358 — this PR should be merged, fixed, or closed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 closed this Oct 30, 2026
@dezren39 dezren39 reopened this Oct 30, 2026
@dezren39
dezren39 added this pull request to the merge queue Oct 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Oct 30, 2026

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 27fecd9 into main Oct 30, 2026
7 of 10 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the renovate/crate-rand-vulnerability branch October 30, 2026 04:28
This was referenced Oct 31, 2026
fix(deps): refresh rand 0.8.5 -> 0.8.6 in pavex realworld example lockfile (#830) #3185
Merged
ci: Phase 1 — cancel-in-progress across all four repos #1780
Closed
@dezren39 dezren39 mentioned this pull request Nov 14, 2026
Retroactive home for PR #827: fix(deps): update rust crate rand [security] #9740
Closed
This was referenced Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dezren39 dezren39 Awaiting requested review from dezren39

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.