RUSTSEC-2022-0046

Source
https://rustsec.org/advisories/RUSTSEC-2022-0046
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0046.json
Aliases
Published
2022-05-11T12:00:00Z
Modified
2023-11-08T04:24:29.736305Z
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.

References

Affected packages

crates.io / rocksdb

Package

Name
rocksdb

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.19.0

Ecosystem specific

{
    "affects": {
        "os": [],
        "functions": [
            "rocksdb::DBWithThreadMode::open_cf_descriptors_with_ttl"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "memory-corruption"
    ]
}