Skip to content

fix(deps): update rust crate tokio to v1.38.2 [security]#302

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/crate-tokio-vulnerability
Open

fix(deps): update rust crate tokio to v1.38.2 [security]#302
renovate[bot] wants to merge 1 commit intomainfrom
renovate/crate-tokio-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 7, 2025

This PR contains the following updates:

Package Type Update Change
tokio (source) dependencies patch =1.38.0=1.38.2

Tokio broadcast channel calls clone in parallel, but does not require Sync

GHSA-rr8g-9fpq-6wmg

More information

Details

The broadcast channel internally calls clone on the stored value when receiving it, and only requires T:Send. This means that using the broadcast channel with values that are Send but not Sync can trigger unsoundness if the clone implementation makes use of the value being !Sync.

Thank you to Austin Bonander for finding and reporting this issue.

Severity

  • CVSS Score: 2.7 / 10 (Low)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

tokio-rs/tokio (tokio)

v1.38.2: Tokio v1.38.2

Compare Source

This release fixes a soundness issue in the broadcast channel. The channel accepts values that are Send but !Sync. Previously, the channel called clone() 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
  • sync: synchronize clone() call in broadcast channel (#​7232)

v1.38.1: Tokio v1.38.1

Compare Source

1.38.1 (July 16th, 2024)

This release fixes the bug identified as (#​6682), which caused timers not
to fire when they should.

Fixed
  • time: update wake_up while holding all the locks of sharded time wheels (#​6683)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/crate-tokio-vulnerability branch from 166db09 to 513a385 Compare September 25, 2025 20:36
@renovate renovate Bot force-pushed the renovate/crate-tokio-vulnerability branch from 513a385 to bc0ac8f Compare October 10, 2025 19:40
@renovate renovate Bot changed the title fix(deps): update rust crate tokio to v1.38.2 [security] fix(deps): update rust crate tokio to v1.38.2 [security] - autoclosed Jan 6, 2026
@renovate renovate Bot closed this Jan 6, 2026
@renovate renovate Bot deleted the renovate/crate-tokio-vulnerability branch January 6, 2026 14:16
@renovate renovate Bot changed the title fix(deps): update rust crate tokio to v1.38.2 [security] - autoclosed fix(deps): update rust crate tokio to v1.38.2 [security] Jan 6, 2026
@renovate renovate Bot reopened this Jan 6, 2026
@renovate renovate Bot force-pushed the renovate/crate-tokio-vulnerability branch 2 times, most recently from bc0ac8f to dc83816 Compare January 6, 2026 17:42
@renovate renovate Bot changed the title fix(deps): update rust crate tokio to v1.38.2 [security] fix(deps): update rust crate tokio to v1.38.2 [security] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot changed the title fix(deps): update rust crate tokio to v1.38.2 [security] - autoclosed fix(deps): update rust crate tokio to v1.38.2 [security] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/crate-tokio-vulnerability branch 2 times, most recently from dc83816 to 2d3fa0d Compare March 30, 2026 21:37
@renovate renovate Bot changed the title fix(deps): update rust crate tokio to v1.38.2 [security] fix(deps): update rust crate tokio to v1.38.2 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title fix(deps): update rust crate tokio to v1.38.2 [security] - autoclosed fix(deps): update rust crate tokio to v1.38.2 [security] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/crate-tokio-vulnerability branch 2 times, most recently from 2d3fa0d to 88e8cb1 Compare April 27, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants