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.
mozilla-services / fernet-rs
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.
fernet
(10 total, 1 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
base64 | ^0.22 | 0.22.1 | up to date |
byteorder | ^1 | 1.5.0 | up to date |
openssl ⚠️ | ^0.10 | 0.10.68 | maybe insecure |
getrandom | ^0.2 | 0.2.15 | up to date |
zeroize | ^1.0 | 1.8.1 | up to date |
aes | ^0.8 | 0.8.4 | up to date |
cbc | ^0.1 | 0.1.2 | up to date |
hmac | ^0.12 | 0.12.1 | up to date |
sha2 | ^0.10 | 0.10.8 | up to date |
subtle | ^2.4 | 2.6.1 | up to date |
(4 total, all up-to-date)
Crate | Required | Latest | Status |
---|---|---|---|
time | ^0.3 | 0.3.36 | up to date |
serde | ^1.0 | 1.0.215 | up to date |
serde_derive | ^1.0 | 1.0.215 | up to date |
serde_json | ^1.0 | 1.0.133 | 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.