Improper Synchronization Affecting rust-spin package, versions <0.5.2-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.42% (70th 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-DEBIANUNSTABLE-RUSTSPIN-466362
  • published9 Sept 2019
  • disclosed9 Sept 2019

Introduced: 9 Sep 2019

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

How to fix?

Upgrade Debian:unstable rust-spin to version 0.5.2-1 or higher.

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 Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1