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.
jwt 0.16.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.
jwt
(8 total, 1 outdated, 1 possibly insecure)
Crate | Required | Latest | Status |
---|---|---|---|
base64 | ^0.13 | 0.22.1 | out of date |
crypto-common | ^0.1 | 0.1.6 | up to date |
digest | ^0.10 | 0.10.7 | up to date |
hmac | ^0.12 | 0.12.1 | up to date |
openssl ⚠️ | ^0.10 | 0.10.68 | maybe insecure |
serde | ^1.0 | 1.0.214 | up to date |
serde_json | ^1.0 | 1.0.132 | up to date |
sha2 | ^0.10 | 0.10.8 | up to date |
(1 total, all up-to-date)
Crate | Required | Latest | Status |
---|---|---|---|
doc-comment | ^0.3 | 0.3.3 | 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.