Several memory safety issues have been uncovered in an audit of rusqlite.
See https://github.com/rusqlite/rusqlite/releases/tag/0.23.0 for a complete list.
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.
a3mo_lib(19 total, 6 outdated, 2 possibly insecure)
| Crate | Required | Latest | Status |
|---|---|---|---|
| blake2b_simd | ^0.5.5 | 1.0.3 | out of date |
| rand | ^0.7.0 | 0.9.2 | out of date |
| xorshift | ^0.1 | 0.1.3 | up to date |
| time ⚠️ | ^0.1.42 | 0.3.44 | out of date |
| rustc-test | ^0.3.0 | 0.3.1 | up to date |
| faster-hex | ^0.3.1 | 0.10.0 | out of date |
| custom_error | ^1.6.0 | 1.9.2 | up to date |
| walkdir | ^2.2.9 | 2.5.0 | up to date |
| rayon | ^1.1.0 | 1.11.0 | up to date |
| url | ^2.0.0 | 2.5.7 | up to date |
| reqwest | ^0.9.19 | 0.12.24 | out of date |
| serde | ^1.0.90 | 1.0.228 | up to date |
| serde_derive | ^1.0.90 | 1.0.228 | up to date |
| serde_json | ^1.0.40 | 1.0.145 | up to date |
| easy_xxhash64 | ^1.1.6 | 1.1.6 | up to date |
| failure | ^0.1.5 | 0.1.8 | up to date |
| delta_patch | ^0.1.0 | 0.1.0 | up to date |
| indextree | ^4.0.0 | 4.7.4 | up to date |
| rusqlite ⚠️ | ^0.20.0 | 0.37.0 | out of date |
rusqlite: Various memory safety issuesSeveral memory safety issues have been uncovered in an audit of rusqlite.
See https://github.com/rusqlite/rusqlite/releases/tag/0.23.0 for a complete list.
time: Potential segfault in the time crateThe affected functions set environment variables without synchronization. On Unix-like operating systems, this can crash in multithreaded programs. Programs may segfault due to dereferencing a dangling pointer if an environment variable is read in a different thread than the affected functions. This may occur without the user's knowledge, notably in the Rust standard library or third-party libraries.
The affected functions from time 0.2.7 through 0.2.22 are:
time::UtcOffset::local_offset_attime::UtcOffset::try_local_offset_attime::UtcOffset::current_local_offsettime::UtcOffset::try_current_local_offsettime::OffsetDateTime::now_localtime::OffsetDateTime::try_now_localThe affected functions in time 0.1 (all versions) are:
time::at_utctime::attime::nowtime::tzsetNon-Unix targets (including Windows and wasm) are unaffected.
Pending a proper fix, the internal method that determines the local offset has been modified to always return None on the affected operating systems. This has the effect of returning an Err on the try_* methods and UTC on the non-try_* methods.
Users and library authors with time in their dependency tree should perform cargo update, which will pull in the updated, unaffected code.
Users of time 0.1 do not have a patch and should upgrade to an unaffected version: time 0.2.23 or greater or the 0.3 series.
A possible workaround for crates affected through the transitive dependency in chrono, is to avoid using the default oldtime feature dependency of the chrono crate by disabling its default-features and manually specifying the required features instead.
Cargo.toml:
chrono = { version = "0.4", default-features = false, features = ["serde"] }
chrono = { version = "0.4.22", default-features = false, features = ["clock"] }
Commandline:
cargo add chrono --no-default-features -F clock
Sources: