CVEvulnerability

CVE-2019-16137

7.5 HIGH Published 2019-09-09 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-09-09
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
7.8 HIGH — AV:N/AC:L/Au:N/C:N/I:N/A:C
Weaknesses
CWE-662

Description

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.

Affected configurations

• spin-rs project spin-rs (< 0.5.2)

Related

Weakness · CWE (1)

  • CWE-662 Improper Synchronization weakness

References