once_cell
Affected
- introduced
0.2.5, fixed1.0.1(semver)
Fixed versions
1.0.1
Fix
- Fixed version
1.0.1cargo update -p once_cell --precise 1.0.1
Advisory
Also known as: CVE-2019-16141, GHSA-7j44-fv4x-79g9
Panic during initialization of Lazy<T> might trigger undefined behavior
If during the first dereference of Lazy<T> the initialization function panics,
subsequent dereferences will execute std::hints::unreachable_unchecked.
Applications with panic = "abort" are not affected, as there will be no
subsequent dereferences.
High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
0.2.5, fixed 1.0.1 (semver)1.0.1
1.0.1cargo update -p once_cell --precise 1.0.1Fix 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