CVE-2021-25901Lazy-init Project Lazy-init
Medium 5.3 No auth needed
Follow: this CVE · Lazy-init Project · Lazy-init Project Lazy-init We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Jan 26, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
An issue was discovered in the lazy-init crate through 2021-01-17 for Rust. Lazy lacks a Send bound, leading to a data race.
What to do
- Apply the vendor's security update for Lazy-init.
- 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 | lazy-init |
< 0.4.0 |
0.4.0 |
cargo update -p lazy-init --precise 0.4.0 |
| crates.io | lazy-init |
≥ 0.0.0-0 < 0.4.1-0 |
0.4.1-0 |
cargo update -p lazy-init --precise 0.4.1-0 |
Per OSV / GitHub Advisories (GHSA-w47j-hqpf-qw9w, RUSTSEC-2021-0004). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lazy-init_project | lazy-init | ≤ 0.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Patch Third Party Advisory