Vulnerability DatabaseRUSTSEC-2020-0088

RUSTSEC-2020-0088
Rust vulnerability analysis and mitigation

Overview

The magnetic crate before version 2.0.1 for Rust contained a soundness/memory safety issue where MPMCConsumer and MPMCProducer allowed cross-thread sending of non-Send types. The vulnerability was discovered and reported by the Rust group at Georgia Tech (sslab-gatech) on November 29, 2020 (RUSTSEC Advisory).

Technical details

The vulnerability stemmed from the unsafe implementation of Send and Sync traits for producer/consumer types without a proper Send bound on the generic type T. The implementation allowed users to send non-Send objects across threads, which could lead to data races and undefined behavior. This was particularly problematic with types like Rc that are not thread-safe (RUSTSEC Advisory).

Impact

When exploited, this vulnerability could lead to data races, program crashes (with "Illegal Instruction" errors), memory leaks, or other undefined behaviors. The issue was particularly concerning when used with reference-counted types like Rc, where concurrent access could corrupt the reference count (RUSTSEC Advisory).

Exploitability

A proof-of-concept exploit was demonstrated using the MPMC queue with an Rc type, showing how the vulnerability could be triggered in approximately 2 million iterations. The exploit resulted in either program crashes or memory leaks due to unsynchronized reference counting operations (GitHub Issue).

Mitigation and workarounds

The issue was fixed in version 2.0.1 of the magnetic crate by adding proper Send bounds on the generic type T for both Send and Sync implementations of producer/consumer types. Users should upgrade to version 2.0.1 or later to prevent potential undefined behavior (RUSTSEC Advisory).

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