diff --git a/CHANGELOG.md b/CHANGELOG.md index b714333..cbada50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [1.0.1] - 2026-04-22 + +### Security + +- Bump both pinned `rand` versions past [RUSTSEC-2026-0097][adv] (`rand` + is unsound with a custom `log::Log` impl that calls `rand::rng()` at + trace/warn level and hits the 64 KB reseed path): + - `rand 0.9.2` → `0.9.4` (fix `>= 0.9.3`). + - `rand 0.8.5` → `0.8.6` (fix `>= 0.8.6`). + + The advisory is only reachable under a very narrow set of conditions + (custom logger invoking `rand::rng()` during a reseed while emitting + trace-level logs, or warn-level with a failed `getrandom`). We are + not known to do that, but shipping the upgrade is the right call. + +[adv]: https://rustsec.org/advisories/RUSTSEC-2026-0097 + ## [1.0.0] - 2026-04-22 ### Breaking diff --git a/Cargo.lock b/Cargo.lock index 6e0a8d2..51cd0b8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -906,7 +906,7 @@ dependencies = [ [[package]] name = "donglora-bridge" -version = "1.0.0" +version = "1.0.1" dependencies = [ "anyhow", "blake3", diff --git a/Cargo.toml b/Cargo.toml index 17c21a2..2f3b674 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "donglora-bridge" -version = "1.0.0" +version = "1.0.1" edition = "2024" authors = ["Stephen Waits "] license = "MIT"