Affected versions of this crate switched the length and capacity arguments in the Vec::from_raw_parts() constructor, which could lead to memory corruption or data leakage.
The flaw was corrected by using the constructor correctly.
nifti 0.6.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.
nifti
(9 total, 6 outdated, 1 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
byteorder | ^1.2.1 | 1.5.0 | up to date |
derive_builder | ^0.6.0 | 0.20.0 | out of date |
flate2 | ^1.0.1 | 1.0.28 | up to date |
ndarray | >=0.10.12, <0.13.0 | 0.15.6 | out of date |
num | ^0.2.0 | 0.4.2 | out of date |
num-derive | ^0.2.0 | 0.4.2 | out of date |
num-traits | ^0.2.0 | 0.2.18 | up to date |
quick-error | ^1.2.0 | 2.0.1 | out of date |
safe-transmute ⚠️ | ^0.8.0 | 0.11.2 | out of date |
(2 total, 2 outdated)
Crate | Required | Latest | Status |
---|---|---|---|
approx | ^0.3.0 | 0.5.1 | out of date |
pretty_assertions | ^0.5.0 | 1.4.0 | out of date |
safe-transmute
: Vec-to-vec transmutations could lead to heap overflow/corruptionAffected versions of this crate switched the length and capacity arguments in the Vec::from_raw_parts() constructor, which could lead to memory corruption or data leakage.
The flaw was corrected by using the constructor correctly.