spin
Spin-based synchronization primitives
Activity
- Latest release
- 3w ago
- Total releases
- 49
- Cadence
- ~34 days
- Last 12 months
- 10
Details
- License
- MIT
- First release
- Jan 27, 2015
| Version | Released | |
|---|---|---|
0.12.3
patch
|
0.12.3
patch
Dependencies (4)
|
|
0.7.2
unknown
|
0.7.2
unknown
Dependencies (1)
|
|
0.12.2
unknown
|
0.12.2
unknown
Dependencies (4)
|
|
0.11.1
unknown
|
0.11.1
unknown
Dependencies (4)
|
|
0.10.1
unknown
|
0.10.1
unknown
Dependencies (3)
|
|
0.9.9
unknown
|
0.9.9
unknown
Dependencies (3)
|
|
0.8.1
unknown
|
0.8.1
unknown
Dependencies (1)
|
|
0.12.1
unknown
yanked
|
0.12.1
unknown
yanked
Dependencies (4)
|
|
0.12.0
unknown
yanked
|
0.12.0
unknown
yanked
Dependencies (4)
|
|
0.11.0
unknown
yanked
|
0.11.0
unknown
yanked
Dependencies (4)
|
|
0.10.0
unknown
yanked
|
0.10.0
unknown
yanked
Dependencies (3)
|
|
0.9.8
unknown
yanked
|
0.9.8
unknown
yanked
Dependencies (3)
|
|
0.9.7
unknown
yanked
1 CVE
GHSA-2qv5-7mw5-j3cg
RUSTSEC-2023-0031
Apr 03, 2023
spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers
Medium
Fixed in
0.9.8
References Updated Sep 10, 2026 · Source: OSV.dev |
0.9.7
unknown
yanked
Dependencies (3)
|
|
0.9.6
unknown
yanked
1 CVE
GHSA-2qv5-7mw5-j3cg
RUSTSEC-2023-0031
Apr 03, 2023
spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers
Medium
Fixed in
0.9.8
References Updated Sep 10, 2026 · Source: OSV.dev |
0.9.6
unknown
yanked
Dependencies (2)
|
|
0.9.5
unknown
yanked
1 CVE
GHSA-2qv5-7mw5-j3cg
RUSTSEC-2023-0031
Apr 03, 2023
spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers
Medium
Fixed in
0.9.8
References Updated Sep 10, 2026 · Source: OSV.dev |
0.9.5
unknown
yanked
Dependencies (2)
|
|
0.9.4
unknown
yanked
1 CVE
GHSA-2qv5-7mw5-j3cg
RUSTSEC-2023-0031
Apr 03, 2023
spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers
Medium
Fixed in
0.9.8
References Updated Sep 10, 2026 · Source: OSV.dev |
0.9.4
unknown
yanked
Dependencies (2)
|
|
0.9.3
unknown
yanked
1 CVE
GHSA-2qv5-7mw5-j3cg
RUSTSEC-2023-0031
Apr 03, 2023
spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers
Medium
Fixed in
0.9.8
References Updated Sep 10, 2026 · Source: OSV.dev |
0.9.3
unknown
yanked
Dependencies (1)
|
|
0.9.2
unknown
yanked
|
0.9.2
unknown
yanked
Dependencies (1)
|
|
0.9.1
unknown
yanked
|
0.9.1
unknown
yanked
Dependencies (1)
|
|
0.9.0
unknown
yanked
|
0.9.0
unknown
yanked
Dependencies (1)
|
|
0.8.0
unknown
yanked
|
0.8.0
unknown
yanked
Dependencies (1)
|
|
0.7.1
unknown
yanked
|
0.7.1
unknown
yanked
Dependencies (1)
|
|
0.7.0
unknown
yanked
|
0.7.0
unknown
yanked
Dependencies (1)
|
|
0.6.0
unknown
|
0.6.0
unknown
Dependencies (1)
|
|
0.5.2
unknown
|
0.5.2
unknown
|
|
0.5.1
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.5.1
unknown
|
|
0.5.0
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.5.0
unknown
|
|
0.4.10
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.10
unknown
|
|
0.4.9
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.9
unknown
|
|
0.4.8
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.8
unknown
|
|
0.4.7
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.7
unknown
|
|
0.4.6
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.6
unknown
|
|
0.4.5
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.5
unknown
|
|
0.4.4
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.4
unknown
|
|
0.4.3
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.3
unknown
|
|
0.4.2
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.2
unknown
|
|
0.4.1
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.1
unknown
|
|
0.4.0
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.4.0
unknown
|
|
0.3.5
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.3.5
unknown
|
|
0.3.4
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.3.4
unknown
|
|
0.3.3
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.3.3
unknown
|
|
0.3.2
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.3.2
unknown
|
|
0.3.1
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.3.1
unknown
|
|
0.3.0
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.3.0
unknown
|
|
0.2.1
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.2.1
unknown
|
|
0.2.0
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.2.0
unknown
|
|
0.1.4
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.1.4
unknown
|
|
0.1.3
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.1.3
unknown
|
|
0.1.2
unknown
1 CVE
CVE-2019-16137
GHSA-hv7x-f3pv-gpwr
RUSTSEC-2019-0013
Aug 25, 2021
Wrong memory orderings violates mutual exclusion in spin
7.5
/ 10
High
Network
Low
None
None
Unchanged
None
None
High
Wrong memory orderings inside the RwLock implementation allow for two writers to acquire the lock at the same time. The drop implementation used Ordering::Relaxed, which allows the compiler or CPU to reorder a mutable access on the locked data after the lock has been yielded. Only users of the RwLock implementation are affected. Users of Once (including users of lazy_static with the spin_no_std feature enabled) are NOT affected. On strongly ordered CPU architectures like x86, the only real way that this would lead to a memory corruption is if the compiler reorders an access after the lock is yielded, which is possible but in practice unlikely. It is a more serious issue on weakly ordered architectures such as ARM which, except in the presence of certain instructions, allow the hardware to decide which accesses are seen at what times. Therefore on an ARM system it is likely that using the wrong memory ordering would result in a memory corruption, even if the compiler itself doesn't reorder the memory accesses in a buggy way. Fixed in
0.5.2
References Updated Nov 08, 2023 · Source: OSV.dev |
0.1.2
unknown
|