{"id":"CVE-2021-45682","aliases":["CVE-2021-45682","GHSA-5phc-849h-vcxg","GHSA-jv2r-jx6q-89jg","RUSTSEC-2021-0084"],"related":[],"kind":"vulnerability","state":"published","title":"`Read` on uninitialized buffer can cause UB (impl of `ReadKVExt`)","summary":"An issue was discovered in the bronzedb-protocol crate through 2021-01-03 for Rust. ReadKVExt may read from uninitialized memory locations.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the bronzedb-protocol crate through 2021-01-03 for Rust. ReadKVExt may read from uninitialized memory locations.","source":"cvelist"},{"lang":"en","text":"Affected versions of this crate passes an uninitialized buffer to a user-provided `Read` implementation.\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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado un problema en la crate bronzedb-protocol versiones hasta 03-01-2021 para Rust. El método ReadKVExt puede leer desde ubicaciones de memoria no inicializadas","source":"nvd"}],"published":"2021-01-03T12:00:00.000Z","modified":"2026-06-17T04:13:56.367Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-908"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.1.0"}],"ecosystem":"crates.io","package":"bronzedb-protocol","purl":"pkg:cargo/bronzedb-protocol","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.1.0"}],"ecosystem":"crates.io","package":"bronzedb-protocol","purl":"pkg:cargo/bronzedb-protocol","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"bronzedb-protocol","purl":"pkg:cargo/bronzedb-protocol","source":"rustsec"},{"ranges":[{"status":"affected","version":"0.1.0"}],"vendor":"bronzedb-protocol_project","product":"bronzedb-protocol","cpe":"cpe:2.3:a:bronzedb-protocol_project:bronzedb-protocol:0.1.0:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0084.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/bronzedb-protocol/RUSTSEC-2021-0084.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Hexilee/BronzeDB/issues/1","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/Hexilee/BronzeDB","tags":["package"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45682","tags":["advisory"],"sources":["ghsa"]},{"url":"https://crates.io/crates/bronzedb-protocol","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-45682","url":"https://www.cve.org/CVERecord?id=CVE-2021-45682","licence":"CVE Terms of Use","modified":"2024-08-04T04:47:01.758Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5phc-849h-vcxg","url":"https://github.com/advisories/GHSA-5phc-849h-vcxg","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:21.552Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jv2r-jx6q-89jg","url":"https://github.com/advisories/GHSA-jv2r-jx6q-89jg","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:21.552Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0084","url":"https://rustsec.org/advisories/RUSTSEC-2021-0084.html","licence":"CC0-1.0","modified":"2023-11-08T04:07:21.552Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-45682","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45682","licence":"Public domain","modified":"2026-06-17T04:13:56.367Z"}],"updatedAt":"2026-11-25T22:58:06.260Z","epss":{"score":0.0123,"percentile":0.69812,"date":"2026-12-02T12:00:21.000Z"}}