Vulnerability DatabaseRUSTSEC-2020-0013

RUSTSEC-2020-0013
Rust vulnerability analysis and mitigation

Overview

The vulnerability (RUSTSEC-2020-0013) was identified in the spin crate before version 0.5.2 for Rust programming language. The issue specifically affects the RwLock implementation, where a synchronization flaw could allow multiple writers to acquire the lock simultaneously (NVD).

Technical details

The vulnerability stems from improper synchronization (CWE-662) in the RwLock implementation, where memory ordering is mishandled. This synchronization issue violates mutual exclusion principles by potentially allowing two writers to acquire the lock at the same time. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability can lead to race conditions and potential data corruption due to multiple writers accessing protected resources simultaneously. This violates the fundamental mutual exclusion guarantee that RwLock is supposed to provide, which could result in high availability impacts on affected systems (NVD).

Exploitability

The vulnerability has a low attack complexity (AC:L) and requires no privileges (PR:N) or user interaction (UI:N) to exploit, making it relatively straightforward to trigger in affected systems (NVD).

Mitigation and workarounds

The vulnerability has been fixed in spin crate version 0.5.2 and later. Users are strongly advised to upgrade to this version or newer to address the synchronization issue (NVD).

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

CVE-2026-46369HIGH7.5
  • Rust logoRust
  • nimiq-blockchain
NoYesAug 12, 2026
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

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