Repository navigation
fix(deps): bump rand to 0.8.6 to clear advisory; track residual 0.7.3 - #117
Merged
Merged
Conversation
…-94qc) Dependabot low-severity alert on `rand`. Bump the in-range `rand 0.8.x` transitive dep (via Tauri's CSS-parser codegen chain) from 0.8.5 to the patched 0.8.6; lockfile-only. A residual `rand 0.7.3` remains, pinned by `phf_generator 0.8.0` (^0.7) deep in the `tauri-build` -> `kuchikiki` -> `selectors` chain, with no 0.7.x fix available — blocked upstream like the glib alert. Both rand instances are build-time-only (not in the shipped runtime) and the advisory (runtime rand::rng() soundness) does not apply, so real-world risk is nil. Tracked in TODO.md for re-check when the upstream Tauri dependency line moves.
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
Bump the in-range
rand 0.8.xtransitive dependency from 0.8.5 to the patched 0.8.6 to address Dependabot low-severity alert GHSA-cq8v-f236-94qc; document the residualrand 0.7.3.Why
randis pulled in only as a build-time dependency of the Tauri toolchain (tauri-build→kuchikiki→cssparser/selectors→phf_generator→rand) — CSS-parser codegen, never in the shipped runtime. The advisory ("rand is unsound with a custom logger usingrand::rng()") concerns runtime usage, so real-world risk here is effectively nil. Still, clearing what's clearable is cheap.rand 0.8.5 → 0.8.6: in-range for its^0.8parent — a one-line lockfile bump.rand 0.7.3: pinned byphf_generator 0.8.0(^0.7) with no 0.7.x fix available, so it's blocked upstream (like the existing glib alert) until Tauri'stauri-utils/kuchikikiline moves offphf 0.8. Tracked inTODO.mdwith a re-check note.How / verification
cargo update -p [email protected] --precise 0.8.6— lockfile-only.cargo metadata --locked: lockfile valid and consistent withCargo.toml.gui-ci(clippy + build) is the compile gate.Refs the rand entry added to TODO.md.