Every CVE Search/ Get API key

CVE-2021-25901

Out of bounds read in lazy-init

5.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

1.33%Up 0.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.3

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.

Record
CVE-2021-25901
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-25901
Updated
2026-11-02
EUVDEUVD-2021-1907 No score

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.

Record
EUVD-2021-1907
Updated
2026-11-03
GitHub AdvisoriesGHSA-w47j-hqpf-qw9w 5.3

Out of bounds read in lazy-init

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.

Record
GHSA-w47j-hqpf-qw9w
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-125
Updated
2026-11-02
OSVGHSA-w47j-hqpf-qw9w 5.3

Out of bounds read in lazy-init

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.

Record
GHSA-w47j-hqpf-qw9w
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-125
Updated
2026-11-02
OSVRUSTSEC-2021-0004 5.3

Missing Send bound for Lazy

All current versions of this crate allow causing data races in safe code.

The flaw will be fixed in the next release.

Record
RUSTSEC-2021-0004
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
lazy-init
crates.io
before 0.4.0
0.4.0
lazy-init
crates.io
0.0.0-0 up to 0.4.1-0
0.4.1-0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-25901 is a medium vulnerability (CVSS 5.3) in Lazy-init Project Lazy-init, published January 17, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.33%, the 71st percentile. Fixed in lazy-init 0.4.0.

References

MoveEnter Open