Advisory

RUSTSEC-2022-0046

Also known as: GHSA-xpp3-xrff-w6rh

Summary

Out-of-bounds read when opening multiple column families with TTL

Details

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.

Severity

Not rated by the source.

Dates

Published
2022-05-11 12:00 UTC
Modified
2023-11-08 04:24 UTC

Affected packages and fixes

rocksdb

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.19.0 (semver)

Fixed versions

0.19.0

Fix

  • Fixed version 0.19.0
    cargo update -p rocksdb --precise 0.19.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences