This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate lancedb

Dependencies

(63 total, 41 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 ahash^0.80.8.12up to date
 arrow^57.259.1.0out of date
 arrow-array^57.259.1.0out of date
 arrow-cast^57.259.1.0out of date
 arrow-data^57.259.1.0out of date
 arrow-ipc^57.259.1.0out of date
 arrow-ord^57.259.1.0out of date
 arrow-schema^57.259.1.0out of date
 arrow-select^57.259.1.0out of date
 async-openai^0.20.00.41.1out of date
 async-trait^00.1.91up to date
 aws-sdk-bedrockruntime^1.27.01.136.0up to date
 bytes ⚠️^11.12.1maybe insecure
 candle-core^0.9.10.11.0out of date
 candle-nn^0.9.10.11.0out of date
 candle-transformers^0.9.10.11.0out of date
 chrono ⚠️^0.40.4.45maybe insecure
 datafusion^51.054.0.0out of date
 datafusion-catalog^51.054.0.0out of date
 datafusion-common^51.054.0.0out of date
 datafusion-execution^51.054.0.0out of date
 datafusion-expr^51.054.0.0out of date
 datafusion-physical-expr^51.054.0.0out of date
 datafusion-physical-plan^51.054.0.0out of date
 futures^00.3.33up to date
 half^2.7.12.7.1up to date
 hf-hub^0.4.11.0.0out of date
 http^11.4.2up to date
 lance=2.0.08.0.0out of date
 lance-arrow=2.0.08.0.0out of date
 lance-core=2.0.08.0.0out of date
 lance-datafusion=2.0.08.0.0out of date
 lance-datagen=2.0.08.0.0out of date
 lance-encoding=2.0.08.0.0out of date
 lance-file=2.0.08.0.0out of date
 lance-index=2.0.08.0.0out of date
 lance-io=2.0.08.0.0out of date
 lance-linalg=2.0.08.0.0out of date
 lance-namespace=2.0.08.0.0out of date
 lance-namespace-impls=2.0.08.0.0out of date
 lance-table=2.0.08.0.0out of date
 lance-testing=2.0.08.0.0out of date
 lazy_static^11.5.0up to date
 log^0.40.4.33up to date
 moka^0.120.12.15up to date
 num-traits^0.20.2.19up to date
 object_store^0.12.00.14.1out of date
 pin-project^1.0.71.1.13up to date
 polars>=0.37, <0.40.00.54.4out of date
 polars-arrow>=0.37, <0.40.00.54.4out of date
 rand^0.90.10.2out of date
 regex^1.101.13.1up to date
 reqwest^0.12.00.13.4out of date
 semver^1.0.251.0.28up to date
 serde^11.0.229up to date
 serde_json^11.0.151up to date
 serde_with^3.8.13.21.0up to date
 snafu^0.80.9.1out of date
 tempfile^3.5.03.27.0up to date
 tokenizers^0.19.10.23.1out of date
 tokio ⚠️^1.231.53.1maybe insecure
 url^22.5.8up to date
 uuid^1.7.01.24.0up to date

Dev dependencies

(14 total, 3 outdated)

CrateRequiredLatestStatus
 anyhow^11.0.104up to date
 aws-config^1.5.101.9.0up to date
 aws-sdk-dynamodb^1.55.01.117.0up to date
 aws-sdk-kms^1.48.01.112.0up to date
 aws-sdk-s3^1.55.01.138.1up to date
 aws-smithy-runtime^1.9.11.12.0up to date
 datafusion^51.054.0.0out of date
 http-body^11.1.0up to date
 random_word^0.4.30.5.2out of date
 rstest^0.23.00.26.1out of date
 tempfile^3.5.03.27.0up to date
 test-log^0.20.2.21up to date
 uuid^1.7.01.24.0up to date
 walkdir^22.5.0up to date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

tokio: reject_remote_clients Configuration corruption

RUSTSEC-2023-0001

On Windows, configuring a named pipe server with pipe_mode will force ServerOptions::reject_remote_clients as false.

This drops any intended explicit configuration for the reject_remote_clients that may have been set as true previously.

The default setting of reject_remote_clients is normally true meaning the default is also overridden as false.

Workarounds

Ensure that pipe_mode is set first after initializing a ServerOptions. For example:

let mut opts = ServerOptions::new();
opts.pipe_mode(PipeMode::Message);
opts.reject_remote_clients(true);

bytes: Integer overflow in `BytesMut::reserve`

RUSTSEC-2026-0007

In the unique reclaim path of BytesMut::reserve, the condition

if v_capacity >= new_cap + offset

uses an unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB.

This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.

PoC

use bytes::*;

fn main() {
    let mut a = BytesMut::from(&b"hello world"[..]);
    let mut b = a.split_off(5);

    // Ensure b becomes the unique owner of the backing storage
    drop(a);

    // Trigger overflow in new_cap + offset inside reserve
    b.reserve(usize::MAX - 6);

    // This call relies on the corrupted cap and may cause UB & HBO
    b.put_u8(b'h');
}

Workarounds

Users of BytesMut::reserve are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.