Skip to content
OpenAdvisories
Medium GHSA-xpp3-xrff-w6rh RUSTSEC-2022-0046

rocksdb vulnerable to out-of-bounds read

Published Aug 12, 2022 · Updated Nov 8, 2023 · Assigned by GHSA

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io rocksdb < 0.19.0 0.19.0 GHSA-xpp3-xrff-w6rh
crates.io rocksdb >= 0.0.0-0, < 0.19.0 0.19.0 RUSTSEC-2022-0046

References