This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate rdedup-lib

Dependencies

(31 total, 12 outdated, 1 insecure, 3 possibly insecure)

CrateRequiredLatestStatus
 backblaze-b2^0.10.1.8up to date
 base64^0.12.30.22.1out of date
 blake2^0.9.00.10.6out of date
 bytevec^0.20.2.0up to date
 bzip2 ⚠️^0.4.10.4.4maybe insecure
 chrono ⚠️^0.40.4.38maybe insecure
 crossbeam^0.70.8.4out of date
 crossbeam-channel^0.40.5.12out of date
 dangerous_option^0.20.2.0up to date
 digest^0.9.00.10.7out of date
 flate2^11.0.30up to date
 fs2^0.40.4.3up to date
 hex^0.4.20.4.3up to date
 hyper ⚠️^0.101.3.1out of date
 hyper-native-tls^0.30.3.0up to date
 num_cpus^1.2.11.16.0up to date
 owning_ref ⚠️^0.4.10.4.1insecure
 rand^0.7.30.8.5out of date
 rdedup-cdc^0.1.00.1.0up to date
 rust-lzma^0.5.10.6.0out of date
 serde^11.0.200up to date
 serde_json^11.0.116up to date
 serde_yaml^0.8.130.9.34+deprecatedout of date
 sgdata^0.2.00.2.0up to date
 sha2^0.9.10.10.8out of date
 slog^2.0.102.7.0up to date
 slog-perf^0.20.2.0up to date
 sodiumoxide^0.20.2.7up to date
 url^12.5.0out of date
 walkdir^22.5.0up to date
 zstd^0.90.13.1out of 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

hyper: Lenient `hyper` header parsing of `Content-Length` could allow request smuggling

RUSTSEC-2021-0078

hyper's HTTP header parser accepted, according to RFC 7230, illegal contents inside Content-Length headers. Due to this, upstream HTTP proxies that ignore the header may still forward them along if it chooses to ignore the error.

To be vulnerable, hyper must be used as an HTTP/1 server and using an HTTP proxy upstream that ignores the header's contents but still forwards it. Due to all the factors that must line up, an attack exploiting this vulnerability is unlikely.

hyper: Integer overflow in `hyper`'s parsing of the `Transfer-Encoding` header leads to data loss

RUSTSEC-2021-0079

When decoding chunk sizes that are too large, hyper's code would encounter an integer overflow. Depending on the situation, this could lead to data loss from an incorrect total size, or in rarer cases, a request smuggling attack.

To be vulnerable, you must be using hyper for any HTTP/1 purpose, including as a client or server, and consumers must send requests or responses that specify a chunk size greater than 18 exabytes. For a possible request smuggling attack to be possible, any upstream proxies must accept a chunk size greater than 64 bits.

owning_ref: Multiple soundness issues in `owning_ref`

RUSTSEC-2022-0040

  • OwningRef::map_with_owner is unsound and may result in a use-after-free.
  • OwningRef::map is unsound and may result in a use-after-free.
  • OwningRefMut::as_owner and OwningRefMut::as_owner_mut are unsound and may result in a use-after-free.
  • The crate violates Rust's aliasing rules, which may cause miscompilations on recent compilers that emit the LLVM noalias attribute.

safer_owning_ref is a replacement crate which fixes these issues. No patched versions of the original crate are available, and the maintainer is unresponsive.

bzip2: bzip2 Denial of Service (DoS)

RUSTSEC-2023-0004

Working with specific payloads can cause a Denial of Service (DoS) vector.

Both Decompress and Compress implementations can enter into infinite loops given specific payloads entered that trigger it.

The issue is described in great detail in the bzip2 repository issue.

Thanks to bjrjk for finding and providing the patch for the issue and the maintainer responsibly responding to release a fix quickly.

Users who use the crate with untrusted data should update the bzip2 to 0.4.4.