Skip to content

Commit e7022eb

Browse files
committed
chore: Bump rand and rustls-webpki, ignore RUSTSEC-2026-0097
1 parent ac46535 commit e7022eb

3 files changed

Lines changed: 28 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
1313
but ignored ([#878]).
1414
- Document Helm deployed RBAC permissions and remove unnecessary permissions ([#869]).
1515
- Bump `stackable-operator` to 0.110.0 and `kube` to 3.1.0 ([#878]).
16+
- Bump `rand` to 0.9.4 and `rustls-webpki` to 0.103.12 to clear recent advisories, ignore RUSTSEC-2026-0097 ([#878]).
1617

1718
### Fixed
1819

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deny.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,25 @@ ignore = [
3838
#
3939
# This can only be removed again if we decide to use a different crate.
4040
"RUSTSEC-2024-0436",
41+
42+
# https://rustsec.org/advisories/RUSTSEC-2026-0097
43+
# "rand" crate: unsound with a custom logger using `rand::rng()`
44+
#
45+
# Triggering the UB requires all of the following to hold at once:
46+
# - rand is built with the `log` and `thread_rng` features enabled
47+
# - a custom `log::Log` implementation is installed that calls
48+
# `rand::rng()` and invokes `TryRng`/`RngCore` methods on `ThreadRng`
49+
# - that `ThreadRng` reseeds while being called from the logger
50+
# - trace-level logging is enabled (or warn-level when `getrandom` fails)
51+
#
52+
# In our build the `log` feature of `rand` is not enabled (see Cargo.lock:
53+
# `rand 0.8.5` only depends on `rand_chacha` and `rand_core`, not `log`),
54+
# so the first precondition cannot be met and the unsoundness is unreachable.
55+
#
56+
# The affected `rand 0.8.5` is a transitive dependency via the `rsa` crate.
57+
# As of 2026-04-15, no stable `rsa` release has dropped a fixed version
58+
# of `rand` yet.
59+
"RUSTSEC-2026-0097",
4160
]
4261

4362
[bans]

0 commit comments

Comments
 (0)