Affected versions of the OpenSSL crate used structures after they'd been freed.
trust-dns-proto 0.21.2
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.
trust-dns-proto
(35 total, 3 outdated, 3 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
async-trait | ^0.1.43 | 0.1.63 | up to date |
backtrace | ^0.3.50 | 0.3.67 | up to date |
bytes | ^1 | 1.3.0 | up to date |
cfg-if | ^1 | 1.0.0 | up to date |
data-encoding | ^2.2.0 | 2.3.3 | up to date |
enum-as-inner | ^0.4 | 0.5.1 | out of date |
futures-channel | ^0.3.5 | 0.3.25 | up to date |
futures-io | ^0.3.5 | 0.3.25 | up to date |
futures-util | ^0.3.5 | 0.3.25 | up to date |
h2 | ^0.3.0 | 0.3.15 | up to date |
http | ^0.2 | 0.2.8 | up to date |
idna | ^0.2.3 | 0.3.0 | out of date |
ipnet | ^2.3.0 | 2.7.1 | up to date |
js-sys | ^0.3.44 | 0.3.60 | up to date |
lazy_static | ^1.2.0 | 1.4.0 | up to date |
log | ^0.4 | 0.4.17 | up to date |
native-tls | ^0.2 | 0.2.11 | up to date |
openssl ⚠️ | ^0.10 | 0.10.45 | maybe insecure |
rand | ^0.8 | 0.8.5 | up to date |
ring | ^0.16 | 0.16.20 | up to date |
rustls | ^0.20.0 | 0.20.8 | up to date |
rustls-pemfile | ^0.3.0 | 1.0.2 | out of date |
serde | ^1.0 | 1.0.152 | up to date |
smallvec ⚠️ | ^1.6 | 1.10.0 | maybe insecure |
socket2 | ^0.4.0 | 0.4.7 | up to date |
thiserror | ^1.0.20 | 1.0.38 | up to date |
tinyvec | ^1.1.1 | 1.6.0 | up to date |
tokio ⚠️ | ^1.0 | 1.24.2 | maybe insecure |
tokio-native-tls | ^0.3.0 | 0.3.0 | up to date |
tokio-openssl | ^0.6.0 | 0.6.3 | up to date |
tokio-rustls | ^0.23.0 | 0.23.4 | up to date |
url | ^2.1.0 | 2.3.1 | up to date |
wasm-bindgen | ^0.2.58 | 0.2.83 | up to date |
webpki | ^0.22.0 | 0.22.0 | up to date |
webpki-roots | ^0.22.1 | 0.22.6 | up to date |
(4 total, 1 outdated, 2 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
env_logger | ^0.9 | 0.10.0 | out of date |
futures-executor | ^0.3.5 | 0.3.25 | up to date |
openssl ⚠️ | ^0.10 | 0.10.45 | maybe insecure |
tokio ⚠️ | ^1.0 | 1.24.2 | maybe insecure |
openssl
: Use after free in CMS SigningAffected versions of the OpenSSL crate used structures after they'd been freed.
smallvec
: Buffer overflow in SmallVec::insert_manyA bug in the SmallVec::insert_many
method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap.
This bug was only triggered if the iterator passed to insert_many
yielded more items than the lower bound returned from its size_hint
method.
The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many
to use less unsafe code, so it is easier to verify its correctness.
Thank you to Yechan Bae (@Qwaz) and the Rust group at Georgia Tech’s SSLab for finding and reporting this bug.
tokio
: reject_remote_clients Configuration corruptionOn 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 overriden as false
.
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);