build(deps): bump rand and rustls-webpki in Rust service lockfiles#413
Open
build(deps): bump rand and rustls-webpki in Rust service lockfiles#413
Conversation
- update rand 0.9.2→0.9.4 and 0.10.0→0.10.1 (GHSA-cq8v-f236-94qc) - update rustls-webpki 0.103.10→0.103.12 (GHSA-965h-392x-2mh5, GHSA-xgp8-3hg3-c2mh) - bump rand 0.8.5→0.8.6 across affected 500-application services 🔒 - Generated by Copilot
WilliamBerryiii
approved these changes
Apr 20, 2026
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.
Description
Bumps transitive Rust dependencies across src/500-application services to clear Grype security findings for rand (GHSA-cq8v-f236-94qc) and rustls-webpki (GHSA-965h-392x-2mh5, GHSA-xgp8-3hg3-c2mh). Only
Cargo.lockfiles changed — noCargo.toml, API, or behavior changes.rand upgrades
rustls-webpki upgrade
Related Issue
Related to #412
Related to #298
Type of Change
Implementation Details
Ran
cargo update -p <crate>@<version>per affected workspace to pick the latest compatible patch release for each version ofrandandrustls-webpkialready resolved in the lockfile. NoCargo.tomlmanifests were edited; all updates stayed within each dependency's existing semver range. The upgraded lockfiles still resolve to the same top-level crate graph.Testing Performed
Post-update Grype scan (
grype dir:src/500-application --only-fixed) confirmed thatrand 0.9.4,rand 0.10.1, andrustls-webpki 0.103.12no longer appear in the report.rand 0.8.6remains flagged (see Notes).Validation Steps
cdinto any affected service (for example, src/500-application/501-rust-telemetry/services/receiver).cargo metadata --format-version 1 | jq '.packages[] | select(.name=="rand" or .name=="rustls-webpki") | {name, version}'and confirm versions match the table below.grype dir:src/500-application --only-fixedand confirmrand 0.9.x,rand 0.10.x, andrustls-webpkifindings are absent.Checklist
terraform fmton all Terraform codeterraform validateon all Terraform codeaz bicep formaton all Bicep codeaz bicep buildto validate all Bicep codeSecurity Review
Additional Notes
rand 0.8.6will continue to appear in Grype scans until upstream dependents bump off the0.8line. The primary blocker isazure_iot_operations_mqtt 0.9.0, which still pinsrand = "0.8.5"even in the GA1.0.1release targeted by #298. Other transitive sources:tokio-retry 0.3.0,tower 0.4.13(viatonic 0.12.3),opentelemetry_sdk 0.26.0(viatracing-opentelemetry 0.27.0), andtungstenite 0.21.0(viawarp 0.3.7).Follow-up Tasks
randto0.9.xinazure_iot_operations_mqtt.tonic/tower,opentelemetry*, andwarp/tungstenitein the affected 500-application services to eliminate the remainingrand 0.8.xgraph nodes.GHSA-cq8v-f236-94qconrand 0.8.xuntil the upstream bumps land.