CVE-2021-25901 json
Out of bounds read in lazy-init
published 2021-01-17 5 y ago modified 2026-06-17 4 mo ago also GHSA-w47j-hqpf-qw9w , RUSTSEC-2021-0004 , EUVD-2021-1907
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
Exploit prediction
1.33% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | lazy-init | <0.4.0 >=0.0.0-0, <0.4.1-0 |
0.4.0 0.4.1-0 |
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
-
rustsec.org
/advisories/RUSTSEC-2021-0004.html
web, patch, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-25901
advisory
-
github.com
/khuey/lazy-init/issues/9
web, report
-
github.com
/khuey/lazy-init
package
-
crates.io
/crates/lazy-init
package
Sources
- CVE List CVE-2021-25901
- GitHub Advisory GHSA-w47j-hqpf-qw9w
- NVD CVE-2021-25901
- OSV RUSTSEC-2021-0004
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.