GHSA-xpp3-xrff-w6rh
MEDIUMrocksdb vulnerable to out-of-bounds read
Affected versions of this crate called the RocksDB C API
rocksdb_open_column_families_with_ttl() with a pointer to a single integer
TTL value, but one TTL value for each column family is expected.
This is only relevant when using
rocksdb::DBWithThreadMode::open_cf_descriptors_with_ttl() with multiple
column families.
This bug has been fixed in v0.19.0.
- Published
- 11 May 2022
- Last modified
- 8 Nov 2023
- Also known as
- RUSTSEC-2022-0046
- Sources
- OSVJSONOSV RUSTSEC-2022-0046JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | rocksdb | < 0.19.0 | 0.19.0 |
| OSV | crates.io | rocksdb | >= 0.0.0-0, < 0.19.0 | 0.19.0 |
References
- https://github.com/rust-rocksdb/rust-rocksdb/pull/616 · WEB
- https://github.com/rust-rocksdb/rust-rocksdb · PACKAGE
- https://github.com/rust-rocksdb/rust-rocksdb/releases/tag/v0.19.0 · WEB
- https://rustsec.org/advisories/RUSTSEC-2022-0046.html · WEB, ADVISORY
- https://crates.io/crates/rocksdb · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 May 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Aug 2022)