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
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2022-0046
Aliases
Published
2022-05-11T12:00:00Z
Modified
2023-11-08T04:24:29.736305Z
Summary
Out-of-bounds read when opening multiple column families with TTL
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
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / rocksdb

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.19.0

Ecosystem specific

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

Database specific

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