{"id":"GHSA-xpp3-xrff-w6rh","aliases":["GHSA-xpp3-xrff-w6rh","RUSTSEC-2022-0046"],"related":[],"kind":"vulnerability","state":"published","title":"rocksdb vulnerable to out-of-bounds read","summary":"Affected versions of this crate called the RocksDB C API\n`rocksdb_open_column_families_with_ttl()` with a pointer to a single integer\nTTL value, but one TTL value for each column family is expected.\n\nThis is only relevant when using\n`rocksdb::DBWithThreadMode::open_cf_descriptors_with_ttl()` with multiple\ncolumn families.\n\nThis bug has been fixed in v0.19.0.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Affected versions of this crate called the RocksDB C API\n`rocksdb_open_column_families_with_ttl()` with a pointer to a single integer\nTTL value, but one TTL value for each column family is expected.\n\nThis is only relevant when using\n`rocksdb::DBWithThreadMode::open_cf_descriptors_with_ttl()` with multiple\ncolumn families.\n\nThis bug has been fixed in v0.19.0.","format":"markdown","source":"ghsa"}],"published":"2022-05-11T12:00:00.000Z","modified":"2023-11-08T04:24:29.736Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.19.0"}],"ecosystem":"crates.io","package":"rocksdb","purl":"pkg:cargo/rocksdb","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.19.0"}],"ecosystem":"crates.io","package":"rocksdb","purl":"pkg:cargo/rocksdb","source":"rustsec"}],"references":[{"url":"https://github.com/rust-rocksdb/rust-rocksdb/pull/616","tags":["web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/rust-rocksdb/rust-rocksdb","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rust-rocksdb/rust-rocksdb/releases/tag/v0.19.0","tags":["web"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0046.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/rocksdb","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xpp3-xrff-w6rh","url":"https://github.com/advisories/GHSA-xpp3-xrff-w6rh","licence":"CC-BY-4.0","modified":"2023-11-08T04:24:29.736Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2022-0046","url":"https://rustsec.org/advisories/RUSTSEC-2022-0046.html","licence":"CC0-1.0","modified":"2023-11-08T04:24:29.736Z"}],"updatedAt":"2026-11-25T22:56:43.106Z"}