Previously, MemBio::get_buf
called slice::from_raw_parts
with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.
crypto-primes 0.5.0
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.
crypto-primes
(4 total, 1 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
crypto-bigint | ^0.5.2 | 0.5.5 | up to date |
openssl ⚠️ | ^0.10.39 | 0.10.68 | maybe insecure |
rand_core | ^0.6.4 | 0.6.4 | up to date |
rug | ^1.18 | 1.26.1 | up to date |
(7 total, 2 outdated)
Crate | Required | Latest | Status |
---|---|---|---|
criterion | ^0.4 | 0.5.1 | out of date |
num-bigint | ^0.4 | 0.4.6 | up to date |
num-integer | ^0.1 | 0.1.46 | up to date |
num-modular | ^0.5 | 0.6.1 | out of date |
num-prime | ^0.4.3 | 0.4.4 | up to date |
proptest | ^1 | 1.5.0 | up to date |
rand_chacha | ^0.3 | 0.3.1 | up to date |
openssl
: `MemBio::get_buf` has undefined behavior with empty buffersPreviously, MemBio::get_buf
called slice::from_raw_parts
with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.