Out-of-bounds Read Affecting rocksdb package, versions <0.19.0


0.0
medium

Snyk CVSS

    Attack Complexity High
    Confidentiality High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUST-ROCKSDB-2980271
  • published 14 Aug 2022
  • disclosed 12 Aug 2022
  • credit Unknown

Introduced: 12 Aug 2022

CVE NOT AVAILABLE CWE-125 Open this link in a new tab

How to fix?

Upgrade rocksdb to version 0.19.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read due to an unsafe call to rocksdb_open_column_families_with_ttl() with a pointer to a single integer TTL value, however one TTL value for each column family is expected.

Note: This is only relevant when using rocksdb::DBWithThreadMode::open_cf_descriptors_with_ttl() with multiple column families.