{"id":"CVE-2021-45684","aliases":["EUVD-2022-0655","GHSA-p46c-w9m3-7qr2","GHSA-p56p-gq3f-whg8","RUSTSEC-2021-0086"],"status":"published","title":"Use of Uninitialized Resource in flumedb.","description":"An issue was discovered in the flumedb crate through 2021-01-07 for Rust. read_entry may read from uninitialized memory locations.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.0123,"percentile":0.69189,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-908"],"published":"2021-01-07T12:00:00Z","modified":"2026-06-17T04:13:56Z","fixes":[{"ecosystem":"crates.io","package":"flumedb","fixed_in":["0.1.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"flumedb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.6"}]}]},{"source":"ghsa","ecosystem":"crates.io","package":"flumedb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.1.6"}]}]},{"source":"osv","ecosystem":"crates.io","package":"flumedb","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.6"}]}]},{"source":"osv","ecosystem":"crates.io","package":"flumedb","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.1.6"}]}]},{"source":"osv","ecosystem":"crates.io","package":"flumedb","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.1.6"}]}]}],"products":[{"vendor":"flumedb_project","product":"flumedb"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0086.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","advisory"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/flumedb/RUSTSEC-2021-0086.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45684","tags":["advisory"]},{"url":"https://github.com/sunrise-choir/flumedb-rs/pull/12","tags":["web"]},{"url":"https://github.com/sunrise-choir/flumedb-rs/commit/14b7440271c9d2316fab52c745e21087559364f6","tags":["web"]},{"url":"https://github.com/sunrise-choir/flumedb-rs/issues/10","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-p46c-w9m3-7qr2"},{"url":"https://github.com/sunrise-choir/flumedb-rs/pull/12/commits/1b643df85ca4a56f7d96105a9eb35e1b917ee488","tags":["web"]},{"url":"https://github.com/advisories/GHSA-p56p-gq3f-whg8"},{"url":"https://github.com/sunrise-choir/flumedb-rs","tags":["package"]},{"url":"https://crates.io/crates/flumedb","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-45684","description":"An issue was discovered in the flumedb crate through 2021-01-07 for Rust. read_entry may read from uninitialized memory locations.","status":"published","published":"2021-12-26T21:52:26Z","modified":"2024-08-04T04:47:02.027Z","updated_at":"2026-11-02T14:33:02.580561Z"}],"euvd":[{"id":"EUVD-2022-0655","description":"An issue was discovered in the flumedb crate through 2021-01-07 for Rust. read_entry may read from uninitialized memory locations.","status":"published","published":"2021-12-26T21:52:26Z","modified":"2024-08-04T04:47:02Z","updated_at":"2026-11-03T03:08:25.77408Z"}],"ghsa":[{"id":"GHSA-p46c-w9m3-7qr2","title":"Use of Uninitialized Resource in flumedb.","description":"Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. There are two of such cases (go_offset_log::read_entry() \u0026 offset_log::read_entry()).\n\nArbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.","status":"published","published":"2022-01-06T22:18:35Z","modified":"2023-06-13T18:08:04Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:36:53.654352Z"},{"id":"GHSA-p56p-gq3f-whg8","title":"`Read` on uninitialized buffer may cause UB ( `read_entry()` )","description":"Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation.\nThere are two of such cases (`go_offset_log::read_entry()` \u0026 `offset_log::read_entry()`).\n\nArbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.\nReading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.\n","status":"published","published":"2022-06-16T23:54:46Z","modified":"2023-01-12T05:01:07Z","updated_at":"2026-11-02T14:36:13.23016Z"}],"nvd":[{"id":"CVE-2021-45684","description":"An issue was discovered in the flumedb crate through 2021-01-07 for Rust. read_entry may read from uninitialized memory locations.","status":"published","published":"2021-12-27T00:15:08.99Z","modified":"2026-06-17T04:13:56.597Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T14:07:02.977492Z"}],"osv":[{"id":"GHSA-p46c-w9m3-7qr2","title":"Use of Uninitialized Resource in flumedb.","description":"Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation. There are two of such cases (go_offset_log::read_entry() \u0026 offset_log::read_entry()).\n\nArbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.","status":"published","published":"2022-01-06T22:18:35Z","modified":"2023-11-08T04:07:21.677152Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-908"],"updated_at":"2026-11-02T15:46:52.534897Z"},{"id":"GHSA-p56p-gq3f-whg8","title":"`Read` on uninitialized buffer may cause UB ( `read_entry()` )","description":"Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation.\nThere are two of such cases (`go_offset_log::read_entry()` \u0026 `offset_log::read_entry()`).\n\nArbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.\nReading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.\n","status":"published","published":"2022-06-16T23:54:46Z","modified":"2023-11-08T04:07:21.677152Z","updated_at":"2026-11-02T15:46:52.534897Z"},{"id":"RUSTSEC-2021-0086","title":"`Read` on uninitialized buffer may cause UB ( `read_entry()` )","description":"Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation.\nThere are two of such cases (`go_offset_log::read_entry()` \u0026 `offset_log::read_entry()`).\n\nArbitrary `Read` implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer.\nReading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.","status":"published","published":"2021-01-07T12:00:00Z","modified":"2023-11-08T04:07:21.677152Z","updated_at":"2026-11-02T15:53:39.492624Z"}]}}
