An issue was discovered in the spin crate before 0.5.2 for Rust, when RwLock is used.
Priority LOW 36CWE-662Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
EPSS 0.01423 73rd percentileScored 2026-11-07
Fix Fixed spin (crates.io): 0.5.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | spin (crates.io) | before 0.5.2 | 0.5.2 | Patch available | GHSA-hv7x-f3pv-gpwr |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- spin (crates.io) Vendor— Affected before 0.5.2 Fixed in 0.5.2 Patch available GHSA-hv7x-f3pv-gpwr
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:spin-rs_project:spin-rs:*:*:*:*:*:*:*:* | before 0.5.2 | Vulnerable | Spin-rs Project |
- cpe:2.3:a:spin-rs_project:spin-rs:*:*:*:*:*:*:*:* Versions before 0.5.2 Vulnerable ·Spin-rs Project
Remediation
- Fix · GHSA-hv7x-f3pv-gpwr spin (crates.io) Fixed in 0.5.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2019-16137
- 2026-10-03 Alias added: GHSA-hv7x-f3pv-gpwr
References
Sources
- CVE-2019-16137 · CVE Program
- CVE-2019-16137 · NVD
- FIRST EPSS
- GHSA-hv7x-f3pv-gpwr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences