Vulnerability DatabaseRUSTSEC-2020-0096

RUSTSEC-2020-0096
Rust vulnerability analysis and mitigation

Overview

The RUSTSEC-2020-0096 vulnerability was discovered in the im crate through 2020-11-09 for Rust. The issue involves the TreeFocus type lacking proper bounds on its Send trait and Sync trait, which could potentially lead to data races. The vulnerability was reported by researchers from the Rust group at SSLAB Georgia Tech (SSLAB Issue).

Technical details

The vulnerability exists in the TreeFocus implementation for RRB-tree backed vectors. The TreeFocus type was implemented with unsafe Send and Sync trait bounds without proper restrictions, allowing it to be shared across thread boundaries unsafely. This implementation oversight could allow safe Rust code to cause data races by sharing mutable references across threads (SSLAB Issue).

Impact

The vulnerability could lead to data races in multithreaded applications using the im crate's vector implementation. While TreeFocus is an implementation detail not meant for end-users, the issue could still be exploited through safe Rust code to cause memory safety violations and potential segmentation faults (SSLAB Issue).

Exploitability

A proof-of-concept exploit was demonstrated showing how the vulnerability could be triggered using safe Rust code. The exploit involves creating a large enough vector to promote it to an RRB tree, then using crossbeam_utils to spawn threads that can cause data races by simultaneously accessing shared mutable state (SSLAB Issue).

Mitigation and workarounds

The vulnerability was fixed by updating the im crate to properly implement bounds on the Send and Sync traits for TreeFocus. Users should upgrade to versions after 2020-11-09 to receive the security fix (SSLAB 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-5x78-73v4-xg6wHIGH8.7
  • Rust logoRust
  • postgres-protocol
NoYesAug 24, 2026
GHSA-fx4f-mhw4-qm7jMEDIUM6.9
  • Rust logoRust
  • vibeio-http
NoYesAug 24, 2026
GHSA-3gjw-f78c-vvpwMEDIUM6.9
  • Rust logoRust
  • tokio-postgres
NoYesAug 24, 2026
GHSA-rgqc-3x5p-6gwgMEDIUM6.9
  • Rust logoRust
  • postgres-protocol
NoYesAug 24, 2026
RUSTSEC-2026-0267NONEN/A
  • Rust logoRust
  • stable-vec
NoYesAug 24, 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