0.10.8 — diff review from 0.10.6 only (older version)
From mozilla/supply-chain copy of hg. By Jeff Muizelaar.
These reviews are from cargo-vet. To add your review, set up cargo-vet
and submit your URL to its registry.
The current version of SHA-2 is 0.11.0-pre.4.
0.10.8 — diff review from 0.10.6 only (older version)
From mozilla/supply-chain copy of hg. By Jeff Muizelaar.
0.10.8 (older version)
From kornelski/crev-proofs copy of git.savannah.gnu.org.
Packaged for Guix (crates-crypto)
0.10.8 (older version)
From kornelski/crev-proofs copy of salsa.debian.org.
Only in debcargo (unstable). Changelog:
0.10.7 — diff review from 0.10.6 only (older version)
From zcash/rust-ecosystem copy of zcash/zcash. By str4d.
The new unsafe
assembly backend only uses aarch64 intrinsics, via their typed
Rust APIs (aside from the SHA2-specific intrinsics that are not in Rust yet). I
did not perform a cryptographic review, but the code to load from and store into
the function arguments looks correct.
0.10.6 — diff review from 0.10.2 only (older version)
From mozilla/supply-chain copy of hg. Audited without comment by Mike Hommey.
0.10.2 (older version)
From divviup/libprio-rs. Audited without comment by David Cook.
0.10.2 — diff review from 0.9.9 only (older version)
From bytecodealliance/wasmtime. By Benjamin Bouvier.
This upgrade is mostly a code refactor, as far as I can tell. No new uses of unsafe nor any new ambient capabilities usage.
cargo-vet does not verify reviewers' identity. You have to fully trust the source the audits are from.
This crate will not introduce a serious security vulnerability to production software exposed to untrusted input. More…
This crate can be compiled, run, and tested on a local workstation or in controlled automation without surprising consequences. More…
May have been packaged automatically without a review
These reviews are from Crev, a distributed system for code reviews. To add your review, set up cargo-crev
.
The current version of SHA-2 is 0.11.0-pre.4.
0.9.8 (older version) Thoroughness: None Understanding: None
by vlad20012 on 2021-09-18
This version fixes a major bug introduced in the previous version 0.9.7
Issue: High (RUSTSEC-2021-0100)
The v0.9.7 release of the sha2 crate introduced a new AVX2-accelerated backend which was automatically enabled for all x86/x86_64 CPUs where AVX2 support was autodetected at runtime.
This backend was buggy and would miscompute results for long messages (i.e. messages spanning multiple SHA blocks).
The crate has since been yanked, but any users who upgraded to v0.9.7 should immediately upgrade to v0.9.8 and recompute any hashes which were previously computed by v0.9.7.
0.8.0 (older version) Thoroughness: None Understanding: Medium
Approved without comment by kornelski on 2019-01-06
Lib.rs has been able to verify that all files in the crate's tarball are in the crate's repository. Please note that this check is still in beta, and absence of this confirmation does not mean that the files don't match.
Crates in the crates.io registry are tarball snapshots uploaded by crates' publishers. The registry is not using crates' git repositories, so there is a possibility that published crates have a misleading repository URL, or contain different code from the code in the repository.
To review the actual code of the crate, it's best to use cargo crev open sha2
. Alternatively, you can download the tarball of sha2 v0.11.0-pre.4 or view the source online.
The bulk of this is https://github.com/RustCrypto/hashes/pull/490 which adds aarch64 support along with another PR adding longson. I didn't check the implementation thoroughly but there wasn't anything obviously nefarious. 0.10.8 has been out for more than a year which suggests no one else has found anything either.