{"id":"CVE-2021-25901","aliases":["EUVD-2021-1907","GHSA-w47j-hqpf-qw9w","RUSTSEC-2021-0004"],"status":"published","title":"Out of bounds read in lazy-init","description":"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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01331,"percentile":0.71313,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2021-01-17T12:00:00Z","modified":"2026-06-17T03:42:32Z","fixes":[{"ecosystem":"crates.io","package":"lazy-init","fixed_in":["0.4.0","0.4.1-0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"lazy-init","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"lazy-init","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"lazy-init","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.1-0"}]}]}],"products":[{"vendor":"lazy-init_project","product":"lazy-init"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0004.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25901","tags":["advisory"]},{"url":"https://github.com/khuey/lazy-init/issues/9","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-w47j-hqpf-qw9w"},{"url":"https://github.com/khuey/lazy-init","tags":["package"]},{"url":"https://crates.io/crates/lazy-init","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-25901","description":"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.","status":"published","published":"2021-01-22T09:03:24Z","modified":"2024-08-03T20:11:28.441Z","updated_at":"2026-11-02T14:32:59.430294Z"}],"euvd":[{"id":"EUVD-2021-1907","description":"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.","status":"published","published":"2021-01-22T09:03:24Z","modified":"2024-08-03T20:11:28Z","updated_at":"2026-11-03T03:24:51.962182Z"}],"ghsa":[{"id":"GHSA-w47j-hqpf-qw9w","title":"Out of bounds read in lazy-init","description":"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.","status":"published","published":"2021-08-25T20:52:59Z","modified":"2023-06-13T18:15:14Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:36:53.654352Z"}],"nvd":[{"id":"CVE-2021-25901","description":"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.","status":"published","published":"2021-01-26T18:16:22.333Z","modified":"2026-06-17T03:42:32.843Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:06:49.660551Z"}],"osv":[{"id":"GHSA-w47j-hqpf-qw9w","title":"Out of bounds read in lazy-init","description":"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.","status":"published","published":"2021-08-25T20:52:59Z","modified":"2023-11-08T04:05:16.553479Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:46:58.04805Z"},{"id":"RUSTSEC-2021-0004","title":"Missing Send bound for Lazy","description":"All current versions of this crate allow causing data races in safe code.\n\nThe flaw will be fixed in the next release.","status":"published","published":"2021-01-17T12:00:00Z","modified":"2023-11-08T04:05:16.553479Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
