fix(deps): update rust crate tokio to v1.43.1 [security] #55
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.
This PR contains the following updates:
1.42.0
->1.43.1
GitHub Vulnerability Alerts
GHSA-rr8g-9fpq-6wmg
The broadcast channel internally calls
clone
on the stored value when receiving it, and only requiresT:Send
. This means that using the broadcast channel with values that areSend
but notSync
can trigger unsoundness if theclone
implementation makes use of the value being!Sync
.Thank you to Austin Bonander for finding and reporting this issue.
Release Notes
tokio-rs/tokio (tokio)
v1.43.1
Compare Source
v1.43.0
: Tokio v1.43.0Compare Source
1.43.0 (Jan 8th, 2025)
Added
UdpSocket::peek
methods (#7068)Command::into_std()
(#7014)SignalKind::info
on illumos (#6995)Fixed
set_len
before initializing vector inBlocking
(#7054)clippy::needless_return
in#[tokio::main]
(#6874)Changes
unsync_load
(#7073)Buf::put_bytes
inRepeat
read impl (#7055)Changes to unstable APIs
Documented
ReadBuf::uninit
allows initialized buffers as well (#7053)TcpStream::try_write_vectored
docs (#7067)LocalRuntime
doc links (#7074)watch::Receiver::wait_for
(#7038)OnceCell
docs (#7047)v1.42.1
: Tokio v1.42.1Compare Source
This release fixes a soundness issue in the broadcast channel. The channel accepts values that are
Send
but!Sync
. Previously, the channel calledclone()
on these values without synchronizing. This release fixes the channel by synchronizing calls to.clone()
(Thanks Austin Bonander for finding and reporting the issue).Fixed
clone()
call in broadcast channel (#7232)Configuration
📅 Schedule: Branch creation - "" (UTC), 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.