GHSA-xpp3-xrff-w6rh

Suggest an improvement
Source
https://github.com/advisories/GHSA-xpp3-xrff-w6rh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-xpp3-xrff-w6rh/GHSA-xpp3-xrff-w6rh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xpp3-xrff-w6rh
Aliases
Published
2022-08-12T15:31:10Z
Modified
2023-11-08T04:24:29.736305Z
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-08-12T15:31:10Z"
}
References

Affected packages

crates.io / rocksdb

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.19.0

Ecosystem specific

{
    "affected_functions": [
        "rocksdb::DBWithThreadMode::open_cf_descriptors_with_ttl"
    ]
}