Live threats

All CVEs / Lazy-init Project

CVE-2021-25901Lazy-init Project Lazy-init

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Lazy-init.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
lazy-init_projectlazy-init≤ 0.4.0

Official sources

References

Links published by the sources. Open them with care.