Improper Synchronization The advisory has been revoked - it doesn't affect any version of package rust-spin  (opens in a new tab)


Threat Intelligence

EPSS
0.09% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1910-RUSTSPIN-612398
  • published10 Sept 2020
  • disclosed9 Sept 2019

Introduced: 9 Sep 2019

CVE-2019-16137  (opens in a new tab)
CWE-662  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:19.10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-spin package and not the rust-spin package as distributed by Ubuntu.

An issue was discovered in the spin crate before 0.5.2 for Rust, when RwLock is used. Because memory ordering is mishandled, two writers can acquire the lock at the same time, violating mutual exclusion.