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 distill-daemon

Dependencies

(29 total, 18 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 async-channel^1.42.5.0out of date
 async-lock^2.13.4.2out of date
 bincode^1.3.13.0.0out of date
 capnp ⚠️^0.14.00.25.3out of date
 capnp-rpc^0.14.00.25.0out of date
 chrono ⚠️^0.4.190.4.44maybe insecure
 distill-core=0.0.20.0.3out of date
 distill-downstream-lmdb-rkv^0.11.0-windows-fixN/Aup to date
 distill-importer=0.0.20.0.3out of date
 distill-loader=0.0.20.0.3out of date
 distill-schema=0.0.20.0.3out of date
 dunce^1.01.0.5up to date
 erased-serde^0.30.4.10out of date
 event-listener^2.4.05.4.1out of date
 fern^0.6.00.7.1out of date
 futures^0.30.3.32up to date
 log^0.40.4.29up to date
 notify^4.0.158.2.0out of date
 num_cpus^1.101.17.0up to date
 path-clean^0.11.0.1out of date
 path-slash^0.1.10.2.1out of date
 pin-project^1.01.1.11up to date
 rayon^1.31.11.0up to date
 ron^0.6.40.12.1out of date
 serde^11.0.228up to date
 serde_derive^1.01.0.228up to date
 tokio ⚠️^1.01.50.0maybe insecure
 tokio-util^0.6.10.7.18out of date
 uuid^0.8.21.23.0out of date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 tempfile^3.2.03.27.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);

capnp: Unsound APIs of public `constant::Reader` and `StructSchema`

RUSTSEC-2025-0143

The safe API functions constant::Reader::get and StructSchema::new rely on PointerReader::get_root_unchecked, which can cause undefined behavior (UB) by constructing arbitrary words or schemas.

Reader::get

pub fn get(&self) -> Result<<T as Owned>::Reader<'static>> {
    // ...
    // UNSAFE: access `words` without validation
}

StructSchema::new

pub fn new(builder: RawBrandedStructSchema) -> StructSchema {
    // ...
    // UNSAFE: access encoded nodes without validation
}

This vulnerability allows safe Rust code to trigger UB, which violates Rust's safety guarantees.

The issue is resolved in version 0.24.0 by making constructor functions unsafe and mark the fields of struct as visible only in the crate.