PT-2019-14537 · Rust · Once Cell
Published
2019-09-01
·
Updated
2021-08-25
·
CVE-2019-16141
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
once cell crate versions prior to 1.0.1
Description
An issue was discovered where a panic occurs during the initialization of
Lazy. If the initialization function panics during the first dereference of Lazy, subsequent dereferences will execute std::hints::unreachable unchecked. Applications with panic = "abort" are not affected.Recommendations
For once cell crate versions prior to 1.0.1, update to version 1.0.1 or later to resolve the issue. As a temporary workaround, consider setting
panic = "abort" to prevent subsequent dereferences.Fix
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Once Cell