Security mailing lists by PureSourceCode

CVE-2019-16137

HIGH 7.5CVSS 3.1

Wrong memory orderings violates mutual exclusion in spin

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.

Published
9 Sep 2019
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-662
Also known as
GHSA-hv7x-f3pv-gpwrRUSTSEC-2019-0013
Sources
NVDJSONOSV GHSA-hv7x-f3pv-gpwrJSONOSV RUSTSEC-2019-0013JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV RustSec CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.8 AV:N/AC:L/Au:N/C:N/I:N/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD spin-rs_project spin-rs
cpe:2.3:a:spin-rs_project:spin-rs:*:*:*:*:*:*:*:*
< 0.5.2 0.5.2
OSV crates.io spin < 0.5.2 0.5.2
OSV crates.io spin >= 0.0.0-0, < 0.5.2 0.5.2

References

History

  • 25 Nov 2026 20:30 UTC · NVD: first stored (published 9 Sep 2019)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Aug 2019)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.