GHSA-7j44-fv4x-79g9HighCVSS 7.5
Improper Input Validation in once_cell
🔗 CVE IDs covered (1)
📋 Description
If during the first dereference of Lazy 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.
🎯 Affected products1
- rust/once_cell:>= 0.2.5, < 1.0.1
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2019-16141
- https://github.com/matklad/once_cell/issues/46
- https://rustsec.org/advisories/RUSTSEC-2019-0017.html
- https://github.com/matklad/once_cell/pull/47
- https://github.com/matklad/once_cell/commit/afcca95a05240ebd931ab20998c946f77ef1e284
- https://github.com/advisories/GHSA-7j44-fv4x-79g9