Advisory

GHSA-xpp3-xrff-w6rh

Also known as: RUSTSEC-2022-0046

Summary

rocksdb vulnerable to out-of-bounds read

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-08-12 15:31 UTC
Modified
2023-11-08 04:24 UTC

Affected packages and fixes

rocksdb

crates.io · All systems

Affected

  • introduced 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences