CVE-2019-16141Once Cell Project Once Cell
High 7.5 No auth needed
Follow: this CVE · Once Cell Project · Once Cell Project Once Cell We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- Sep 9, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.
What to do
- Apply the vendor's security update for Once Cell.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | once_cell |
≥ 0.2.5 < 1.0.1 |
1.0.1 |
cargo update -p once_cell --precise 1.0.1 |
| crates.io | once_cell |
≥ 0.2.5 < 1.0.1 |
1.0.1 |
cargo update -p once_cell --precise 1.0.1 |
Per OSV / GitHub Advisories (GHSA-7j44-fv4x-79g9, RUSTSEC-2019-0017). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| once_cell_project | once_cell | ≥ 0.2.6 < 1.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- rustsec.org Third Party Advisory