CVE-2019-16141
HIGH 7.5CVSS 3.1Improper Input Validation in once_cell
An issue was discovered in the once_cell crate before 1.0.1 for Rust. There is a panic during initialization of Lazy.
- Published
- 9 Sep 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-7j44-fv4x-79g9RUSTSEC-2019-0017
- Sources
- NVDJSONOSV GHSA-7j44-fv4x-79g9JSONOSV RUSTSEC-2019-0017JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | once_cell_project | once_cellcpe:2.3:a:once_cell_project:once_cell:*:*:*:*:*:*:*:* |
>= 0.2.6, < 1.0.1 | 1.0.1 |
| OSV | crates.io | once_cell | >= 0.2.5, < 1.0.1 | 1.0.1 |
References
- https://github.com/matklad/once_cell/issues/46 · Third Party Advisory, WEB, REPORT
- https://rustsec.org/advisories/RUSTSEC-2019-0017.html · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-16141 · ADVISORY
- https://github.com/matklad/once_cell/pull/47 · WEB
- https://github.com/matklad/once_cell/commit/afcca95a05240ebd931ab20998c946f77ef1e284 · WEB
- https://github.com/matklad/once_cell · PACKAGE
- https://crates.io/crates/once_cell · PACKAGE
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 9 Sep 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Sep 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)