This review is from cargo-vet. To add your review, set up cargo-vet and submit your URL to its registry.
0.3.4 (current)
From kornelski/crev-proofs copy of salsa.debian.org.
Packaged for Debian (stable). Changelog:
- Package slice-ring-buffer 0.3.4 from crates.io using debcargo 2.7.0
- Additionally reduce another size in benches for 32-bit architectures, point to upstream https://github.com/LiquidityC/slice_ring_buffer/issues/11
cargo-vet does not verify reviewers' identity. You have to fully trust the source the audits are from.
- safe-to-run
-
This crate can be compiled, run, and tested on a local workstation or in controlled automation without surprising consequences. More…
Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories. There is absolutely no guarantee that the repository URL declared by the crate belongs to the crate, or that the code in the repository is the code inside the published tarball.
To review the actual code of the crate, it's best to use cargo crev open slice-ring-buffer. Alternatively, you can download the tarball of slice-ring-buffer v0.3.4 or view the source online.
The crate
slice-ring-bufferwas developed as a fork ofslice-dequeto continue maintenance and provide security patches, since the latter has been officially unmaintained (RUSTSEC-2020-0158).While
slice-ring-bufferhas addressed some previously reported memory safety issues inherited from its fork origin (RUSTSEC-2021-0047), it still retains multiple unresolved memory corruption vulnerabilities.Specifically, we have discovered four new memory safety bugs, each resulting in double-free violations that can occur when only safe APIs are invoked. These vulnerabilities correspond to four distinct safe APIs in the crate, each exposing unsound and vulnerable behavior due to incorrect usage of unsafe code internally.
Unfortunately, the maintainer doesn't have much availability to resolve these issues so there's no concrete timeline for fixes. Community contributions towards fixing these vulnerabilities would be much appreciated.
GHSA-7mcq-f592-pf7v