CVE-2019-16137Spin-rs Project Spin-rs
High 7.5 No auth needed
Follow: this CVE · Spin-rs Project · Spin-rs Project Spin-rs We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Sep 9, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-662
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Spin-rs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | spin |
< 0.5.2 |
0.5.2 |
cargo update -p spin --precise 0.5.2 |
| crates.io | spin |
≥ 0.0.0-0 < 0.5.2 |
0.5.2 |
cargo update -p spin --precise 0.5.2 |
Per OSV / GitHub Advisories (GHSA-hv7x-f3pv-gpwr, RUSTSEC-2019-0013). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| spin-rs_project | spin-rs | < 0.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Third Party Advisory