lmdb-rs
Affected
- introduced
0, last affected0.7.6(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: RUSTSEC-2023-0047
impl FromMdbValue for bool is unsound
The implementation of FromMdbValue has several unsoundness issues. First of all, it allows to reinterpret arbitrary bytes as a bool and could make undefined behavior happen with safe function. Secondly, it allows transmuting pointer without taking memory layout into consideration. The details of reproducing the bug are available here.
Medium Basis: The source's own band: MODERATE
0, last affected 0.7.6 (semver)None listed
No fixed version is listed.
Fix 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0