Vulnerability DatabaseRUSTSEC-2020-0150

RUSTSEC-2020-0150
Rust vulnerability analysis and mitigation

Overview

The vulnerability (RUSTSEC-2020-0150/CVE-2020-36470) was discovered in the disrustor crate through December 17, 2020, for Rust programming language. The issue involves the RingBuffer implementation which does not properly limit the number of mutable references, allowing unsafe operations with non-Send types across threads (RustSec Advisory).

Technical details

The vulnerability stems from the RingBuffer implementation that incorrectly implements Send/Sync traits regardless of whether the internal type implements Send/Sync. This implementation oversight allows users to send a non-Send type across threads with RingBuffer, which can lead to undefined behavior in safe Rust code (GitHub Issue).

Impact

The vulnerability could lead to data races and undefined behavior in applications using the disrustor crate. When non-Send types are transmitted across threads, it can result in memory safety violations and potential application crashes (GitHub Issue).

Exploitability

The vulnerability can be exploited through safe Rust code without requiring any unsafe blocks. A proof-of-concept demonstrates that non-Send types can be sent across threads using the RingBuffer implementation, leading to panic when the destructor runs on the wrong thread (GitHub Issue).

Mitigation and workarounds

The recommended fix involves adding appropriate trait bounds on the internal type T for RingBuffer's Send/Sync implementations, or restricting the RingBuffer's new() constructor with pub(crate) if it's not meant to be created by end users (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-8rw6-p7m8-63jpMEDIUM6.5
  • Rust logoRust
  • surrealdb
NoYesAug 14, 2026
CVE-2026-73430MEDIUM5.3
  • Rust logoRust
  • russh
NoYesAug 12, 2026
CVE-2026-73429MEDIUM5.3
  • Rust logoRust
  • yazi
NoYesAug 12, 2026
CVE-2026-73489MEDIUM4.3
  • Rust logoRust
  • russh
NoYesAug 13, 2026
RUSTSEC-2026-0258NONEN/A
  • Rust logoRust
  • h2
NoYesAug 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management