{"id":"CVE-2021-25901","aliases":["CVE-2021-25901","GHSA-w47j-hqpf-qw9w","RUSTSEC-2021-0004"],"related":[],"kind":"vulnerability","state":"published","title":"Out of bounds read in lazy-init","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"All current versions of this crate allow causing data races in safe code.\n\nThe flaw will be fixed in the next release.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate lazy-init versiones hasta el 17-01-2021 para Rust.&#xa0;Lazy carece de un límite de Send, conllevando a una carrera de datos","source":"nvd"}],"published":"2021-01-17T12:00:00.000Z","modified":"2026-06-17T03:42:32.843Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.0"}],"ecosystem":"crates.io","package":"lazy-init","purl":"pkg:cargo/lazy-init","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.4.1-0"}],"ecosystem":"crates.io","package":"lazy-init","purl":"pkg:cargo/lazy-init","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"0.4.0"}],"vendor":"lazy-init_project","product":"lazy-init","cpe":"cpe:2.3:a:lazy-init_project:lazy-init:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0004.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25901","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/khuey/lazy-init/issues/9","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/khuey/lazy-init","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/lazy-init","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25901","url":"https://www.cve.org/CVERecord?id=CVE-2021-25901","licence":"CVE Terms of Use","modified":"2024-08-03T20:11:28.441Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w47j-hqpf-qw9w","url":"https://github.com/advisories/GHSA-w47j-hqpf-qw9w","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:16.553Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0004","url":"https://rustsec.org/advisories/RUSTSEC-2021-0004.html","licence":"CC0-1.0","modified":"2023-11-08T04:05:16.553Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25901","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25901","licence":"Public domain","modified":"2026-06-17T03:42:32.843Z"}],"updatedAt":"2026-11-25T22:57:59.723Z","epss":{"score":0.01331,"percentile":0.71912,"date":"2026-12-01T12:00:22.000Z"}}