ADVISORIES

GitHub Advisory Database

GHSA-7j44-fv4x-79g9

Improper Input Validation in once_cell

Details

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 packages

EcosystemPackageAffected versions
crates.ioonce_cell
From 0.2.5 before 1.0.1 (fixed in 1.0.1)

References