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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 IDSNYK-RUST-ROCKSDB-2980271
  • published14 Aug 2022
  • disclosed12 Aug 2022
  • creditUnknown

Introduced: 12 Aug 2022

CVE NOT AVAILABLE CWE-125  (opens 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.

CVSS Scores

version 3.1