ref-swap
Affected
- introduced
0.0.0-0, fixed0.1.3(semver)
Fixed versions
0.1.3
Fix
- Fixed version
0.1.3cargo update -p ref-swap --precise 0.1.3
Advisory
Also known as: None
UB can be reached from safe code
The variance of RefSwap and OptionRefSwap were incorrect, possibly allowing use-after-free.
OptionRefSwap::into_inner did not check for null.
The fix is to make RefSwap and OptionRefSwap invariant, and to change OptionRefSwap::into_inner to return an option.
It is available in version 0.1.3.
If your project still compiles with 0.1.3 then it is not affected by the unsoundness on version 0.1.2
Not rated by the source.
0.0.0-0, fixed 0.1.3 (semver)0.1.3
0.1.3cargo update -p ref-swap --precise 0.1.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0